servant/servant-foreign
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
..
include less OverlappingInstances noise 2016-01-04 13:09:11 -05:00
src/Servant [servant-foreign] Parameterise type classes with a foreign representation type 2016-03-14 10:34:53 +13:00
test [servant-foreign] Parameterise type classes with a foreign representation type 2016-03-14 10:34:53 +13:00
CHANGELOG.md update servant-foreign changelog 2016-02-18 09:34:42 +03:00
LICENSE Change copyright to servant contributors 2016-01-20 16:58:29 +01:00
README.md Extract common code-generation stuff to servant-foreign 2015-09-21 20:59:09 +03:00
servant-foreign.cabal [servant-foreign] Parameterise type classes with a foreign representation type 2016-03-14 10:34:53 +13:00
Setup.hs Extract common code-generation stuff to servant-foreign 2015-09-21 20:59:09 +03:00
tinc.yaml Use tinc on travis 2015-11-05 09:32:13 +08:00

servant-foreign

servant

Types and helpers for generating clients for servant servers in arbitrary programming languages.