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
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
Sönke Hahn
ba918c720f
fix for lens-4.13
2015-09-15 22:13:00 +08:00
Jonathan Lange
6a35a0ae7a
Remove auto-generated nix files
2015-09-08 20:36:54 +01:00
Jonathan Lange
a265fd31a0
Run of update-nix-files.sh
2015-09-08 20:28:47 +01:00
Julian K. Arni
6eb7add53a
stylish haskell changes
...
And import fix.
2015-08-18 00:07:12 +02:00
Brandon Martin
b40094d01c
convenience scripts and nix updates
2015-07-30 08:09:29 -06:00
Julian K. Arni
1c9d5baa99
Bump versions to 0.5
2015-07-27 22:26:49 +02:00
Julian K. Arni
e29acc0825
Make HasDocs instance for :<|> overlappable.
...
That way it's easier to document that the endpoints on the LHS "fall
through" to the RHS.
2015-07-14 15:57:36 +02:00
Alp Mestanogullari
f39d57c6b3
add HttpVersion, IsSecure, RemoteHost and Vault combinators with instances for all interpretations (all but the server ones being 'ignore that combinator')
...
tighter version bounds for network
cleanup
document the new combinators
servant-server: add some tests for HttpVersion, IsSecure, RemoteHost and Vault
update changelogs
address Julian's feedback
remove vault test in servant-server
servant-server tests: -Werror friendly
2015-07-10 14:00:01 +02:00
Philipp Kant
529139eb03
Added test for docsWith.
...
Make sure that no information is lost when providing additional
information via docsWith. With the current left-biased implementation of
combineAction, this can happen if the function arguments are in the
wrong order.
2015-06-16 22:38:14 +02:00
Philipp Kant
8dc6d9a7d4
servant-docs: Fix docsWith.
...
When adding extra info using using docsWith, the responses vanished from
the output. This was due to combineAction being left-biased, and
docsWith combining the extra info with the enpoint (in that
order). Flipping combineAction solves this.
2015-06-16 10:58:15 +02:00
Julian K. Arni
0b3291970f
Bump to 0.4.1
2015-05-29 16:24:08 +02:00
Alp Mestanogullari
46d48946b0
update examples for servant-docs. fixes #76
2015-05-14 01:01:41 +02:00
Julian K. Arni
690df4d9e0
Consistent version numbering
2015-05-10 14:10:21 +02:00
Julian K. Arni
b81ea9eee2
Bump everything to 0.4
2015-05-09 17:28:52 +02:00
Alp Mestanogullari
b6f7efe8e2
put intro titles at the same level as the endpoints
2015-05-09 16:28:19 +02:00
Alp Mestanogullari
c2211e9534
add missing exports (lenses) to servant-docs's Servant.Docs module
2015-05-09 16:06:11 +02:00
Brandon Martin
95abfc4090
fix ToSample instance and update changelogs
2015-05-07 05:22:01 -06:00
Brandon Martin
10a6020ca2
modify delete to allow for response body
2015-05-06 13:21:35 -06:00
Julian K. Arni
1631ae644c
remove serveDocumentation references/code
2015-05-06 16:49:49 +02:00
Julian K. Arni
59cc7972de
Changelog updates
2015-05-04 17:04:11 +02:00
Julian K. Arni
92d65aaf49
-Wall fixes
2015-05-03 13:36:51 +02:00
Julian K. Arni
84211d4a0f
Fix ToSample issues
2015-05-03 01:50:30 +02:00
Julian K. Arni
50b05860b7
Remove Canonicalize
2015-05-03 01:45:17 +02:00
Julian K. Arni
9c20b668e7
Changelog and sources.txt updates
2015-05-02 12:09:00 +02:00
Julian K. Arni
5531ada22b
Headers for all
2015-05-02 02:21:03 +01:00
Julian K. Arni
f82ca76f7d
7.10 changes
2015-04-22 12:27:18 +02:00
Julian K. Arni
019d49e782
default.nix and sources files
2015-04-20 19:13:55 +02:00
Julian K. Arni
669fb6e371
Add link to changelogs in cabal file
2015-04-20 16:00:51 +02:00
Julian K. Arni
4ab74434b3
update cabal files for the repo merge
2015-04-20 15:55:41 +02:00
Julian K. Arni
d418ed4b0e
Update READMEs
2015-04-20 15:48:37 +02:00
Julian K. Arni
88f1a3fc15
prepare merge
2015-04-20 11:19:48 +02:00