Commit graph

830 commits

Author SHA1 Message Date
Nickolay Kudasov
75999b8211 Replace boileplate ToSample instances for tuples with empty ones
We just use default Generics implementation for tuples now.
2015-09-19 01:19:52 +03:00
Nickolay Kudasov
80f235b986 Add default ToSample implementation for Generics
- introduce an internal `GToSample` class
- introduce internal functions `defaultSample` and `defaultSamples`
- add default signature for `toSamples` to use Generics
- set default `toSamples` implementation to `defaultSamples`
- remove the `MINIMAL` pragma to avoid warnings for empty instances
2015-09-19 01:15:18 +03:00
Julian Arni
019fad973d Merge pull request #227 from zerobuzz/tosample-for-tuples
ToSample instances for tuples.
2015-09-18 16:36:08 +02:00
Matthias Fischmann
99d1402a06 ToSample instances for longer tuples (up to 7). 2015-09-16 12:45:51 +02:00
Matthias Fischmann
d9df8f043e Add tests. 2015-09-16 12:42:05 +02:00
Matthias Fischmann
e5259358db ToSample instances for tuples. 2015-09-16 11:57:29 +02:00
Julian Arni
81e08f31d1 Merge pull request #226 from haskell-servant/jkarni/octet-default
Document octet-stream default RFC.
2015-09-15 17:36:21 +02:00
Julian K. Arni
2be621871d Document octet-stream default RFC. 2015-09-15 17:24:37 +02:00
Sönke Hahn
ba918c720f fix for lens-4.13 2015-09-15 22:13:00 +08:00
Julian Arni
556ae1e1a6 Merge pull request #221 from int-index/int-index/except
Drop EitherT in favor of ExceptT
2015-09-15 12:16:42 +02:00
Index Int
c5257f42ab Depend on transformers-compat 2015-09-12 16:28:20 +03:00
Index Int
f2f7b061d2 Drop EitherT in favor of ExceptT 2015-09-12 15:11:24 +03:00
Julian Arni
961887cc95 Merge pull request #217 from jml/fix-nix-script
Fix nix script
2015-09-08 13:00:34 -07:00
Jonathan Lange
ff3e15dbd2 Rename update-nix-files to generate-nix-files 2015-09-08 20:39:20 +01:00
Jonathan Lange
acd9d2f644 Ignore auto-generated nix files 2015-09-08 20:37:49 +01:00
Jonathan Lange
6a35a0ae7a Remove auto-generated nix files 2015-09-08 20:36:54 +01:00
Jonathan Lange
e4ce3b95e5 Fix update-nix-files.sh to run correctly 2015-09-08 20:28:57 +01:00
Jonathan Lange
a265fd31a0 Run of update-nix-files.sh 2015-09-08 20:28:47 +01:00
Julian Arni
ff11f38e05 Merge pull request #207 from haskell-servant/jkarni/cassava
Add servant-cassava.
2015-09-07 12:29:47 -07:00
Sönke Hahn
ef058417bc README: typo 2015-09-07 09:53:46 -07:00
Sönke Hahn
747b35d66d make travis builds use stack 2015-09-06 09:04:55 -07:00
Julian K. Arni
1bffaac2d0 Add servant-cassava. 2015-08-29 19:15:16 +02:00
Christian Marie
b9ce73fcac Merge pull request #205 from haskell-servant/jkarni/broken-links
Remove broken links
2015-08-28 10:54:57 +10:00
Julian K. Arni
9e0b950200 Remove broken links 2015-08-27 16:24:25 +02:00
Julian Arni
e1d380e749 Merge pull request #204 from tfausak/gh-203-base-url-paths
Fix #203; add path to BaseUrl
2015-08-27 14:37:19 +02:00
Taylor Fausak
4238a58f92 Fix #203; add path to BaseUrl 2015-08-25 08:42:13 -05:00
Christian Marie
e5492bf323 Merge pull request #202 from proger/patch-1
Dead link in servant.cabal
2015-08-24 21:16:17 +10:00
Vlad Ki
6c987f2dc3 Dead link in servant.cabal 2015-08-24 14:00:01 +03:00
Alp Mestanogullari
90d837dda9 Merge pull request #196 from haskell-servant/jkarni/contributing
'Contributing' section in the README + stylish haskell changes
2015-08-18 11:25:08 +02:00
Julian K. Arni
6eb7add53a stylish haskell changes
And import fix.
2015-08-18 00:07:12 +02:00
Julian K. Arni
98b6e85128 Contributing 2015-08-17 23:50:42 +02:00
Julian Arni
1a27e46f5c Merge pull request #182 from AndrewRademacher/master
Bumped aeson version.
2015-08-07 09:21:23 +02:00
AndrewRademacher
e780e445cb Bumped aeson version. 2015-08-06 13:40:18 -05:00
Julian Arni
38eb199243 Merge pull request #180 from haskell-servant/freezeboy/js-small-fix
Fix GenerateList to let the API be nested
2015-08-06 09:05:23 +02:00
Freezeboy
b769ddc32b Fix GenerateList to let the API be nested 2015-08-05 21:01:33 +02:00
Alp Mestanogullari
217f9e97e3 Merge pull request #179 from haskell-servant/jkarni/stack-dep-update
Update stack for servant-example dependency changes.
2015-08-01 21:02:54 +02:00
Julian K. Arni
307d2a648f Update stack for servant-example dependency changes. 2015-08-01 20:18:47 +02:00
Julian Arni
38ca8d54d0 Merge pull request #177 from codedmart/methodHead
Respond with Head to all Get requests
2015-08-01 20:16:42 +02:00
Brandon Martin
050aa21b9d Response with Head to all Get requests
Signed-off-by: Brandon Martin <zmbmartin@gmail.com>
2015-08-01 07:58:56 -06:00
Julian Arni
e15caf0d35 Merge pull request #175 from codedmart/nixFixes
convenience scripts and nix updates
2015-07-30 16:31:46 +02:00
Brandon Martin
b40094d01c convenience scripts and nix updates 2015-07-30 08:09:29 -06:00
Julian Arni
522a7dc961 Merge pull request #165 from haskell-servant/jkarni/bump-warp
Bump warp upper bound.
2015-07-30 10:44:35 +02:00
Alp Mestanogullari
3dc304b8d7 Merge pull request #173 from freezeboy/axios
servant-js: Add support for the Axios JS library
2015-07-29 14:10:41 +02:00
Alp Mestanogullari
dc902e2f58 Merge pull request #171 from freezeboy/transform-function-name
Replace functionName with an array, and use functionRenamer to build …
2015-07-29 12:03:18 +02:00
Freezeboy
116d7bf22b Add capture in function name 2015-07-28 19:47:41 +02:00
Freezeboy
4cab814e17 Add urlPrefix support for Axios 2015-07-28 16:47:19 +02:00
Freezeboy
2c0fe980eb Rename also function name transformer for Axios 2015-07-28 16:46:00 +02:00
Freezeboy
3f538b547d CamelCase for Angular Service 2015-07-28 16:43:09 +02:00
Freezeboy
ef13160d8b Rename functionRenamer and default to CameCase 2015-07-28 16:41:07 +02:00
Alp Mestanogullari
4ff9697ed7 Merge pull request #172 from freezeboy/add-url-prefix
Add urlPrefix to CommonGeneratorOptions
2015-07-28 15:53:48 +02:00