Sönke Hahn
14a8139cbe
version bump
2016-04-04 16:22:11 +08:00
Steve Purcell
5188e842a9
[servant-foreign] Parameterise type classes with a foreign representation type
...
We allow a user-specified type to represent the foreign type of haskell
types encountered in the API. This lets users map Integer, Date etc. to
representations other than Text, and have those representations
available in the returned list of Req.
For example, we might want to map a type which has an instance of
Generic to both a foreign type name and a class declaration for that
foreign type such that it can encode/decode itself to JSON. The previous
limitation to a single Text output prevented this case.
2016-03-14 10:34:53 +13:00
Steve Purcell
207f05e759
[servant-foreign] Parameterise Req with a foreign type
2016-03-13 18:35:49 +13:00
Denis Redozubov
e5635a044e
use newtypes in servant-foreign
2016-03-12 12:51:22 +03:00
Julian K. Arni
be36e5b313
Change copyright to servant contributors
2016-01-20 16:58:29 +01:00
Julian K. Arni
bd77b4acba
Verb for -mock, -js and -foreign.
2016-01-07 13:47:08 +01:00
Luigy Leon
17fcc25d87
add include header files to extra-source-files
2016-01-04 23:05:05 -05:00
Julian K. Arni
79d4f944a4
less OverlappingInstances noise
2016-01-04 13:09:11 -05:00
Maksymilian Owsianny
83600d5326
Added myself as co-author.
2015-12-02 14:26:45 +00:00
Matthias Fischmann
9b08a05502
Adjust file contents a little.
2015-11-16 18:40:15 +01:00
Matt Bray
aa2b56d08c
servant-foreign: add test for camelCase
2015-11-04 11:27:07 +00:00
Arian van Putten
e0fe0a1f39
Add version bounds for text
2015-10-02 14:03:03 +02:00
Arian van Putten
e17987e5ff
Convert servant-foreign to use text
2015-10-02 10:23:57 +02:00
Denis Redozubov
7b58f0463a
reduce synopsis to make cabal happy
2015-09-23 01:04:14 +03:00
Denis Redozubov
477976e128
update cabal package description
...
* synopsys
* description
* package version looks consistent with other servant-* packages now
2015-09-22 22:38:29 +03:00
Denis Redozubov
64fc870852
make version/version constraints consistent with other servant-* packages
2015-09-22 22:28:02 +03:00
Denis Redozubov
897fd8fdfc
bump servant-foreign to 0.5
2015-09-22 14:47:32 +03:00
Denis Redozubov
b59a62e012
no opinion on valid function names in servant-foreign
2015-09-22 14:02:30 +03:00
Denis Redozubov
6fa4b55c94
fix build settings for ghc-7.8.4
2015-09-21 21:34:38 +03:00
Denis Redozubov
ce3e4f7193
Extract common code-generation stuff to servant-foreign
2015-09-21 20:59:09 +03:00