Commit graph

22 commits

Author SHA1 Message Date
Arian van Putten
05379ed7e3 Replace all occurances of () with NoContent
We use NoContent to signify an empty response nowadays. This commit
replaces all occurences of () with NoContent so that all packages use
the new semantics.
2016-07-10 16:58:59 +02:00
Julian Arni
da1beba7f4 Merge pull request #404 from haskell-servant/base-compat
prefer base-compat to CPP macros
2016-03-18 13:53:13 +01: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
Denis Redozubov
460a0c90b4 more purging 2016-03-13 12:44:38 +03:00
Sönke Hahn
ac930ef198 ComprehensiveAPI: add some comments (and minor tweaks) 2016-01-18 20:06:45 +01:00
Sönke Hahn
e5974ec94d add ComprehensiveAPI to test whether we're missing instances
Some of the combinators are commented atm, because we *are* missing combinators.
2016-01-18 12:28:29 +01:00
Maksymilian Owsianny
721151a32d Added default NoTypes parameter for dynamic languages. 2015-12-02 15:56:56 +00:00
Maksymilian Owsianny
0c0c382ae6 Fix broken servant-js tests. 2015-12-02 13:22:01 +00:00
Arian van Putten
57461be2eb Fix redundant import warning in base < 4.8 2015-10-04 23:55:12 +02:00
Arian van Putten
0040badf59 Add extra type signatures in servant-js. 2015-10-04 23:42:34 +02:00
Arian van Putten
b341ace003 More test fixes 2015-10-02 14:45:50 +02:00
Arian van Putten
00179572ec Fix errors in test suite for servant-js. 2015-10-02 14:38:19 +02:00
Denis Redozubov
ce3e4f7193 Extract common code-generation stuff to servant-foreign 2015-09-21 20:59:09 +03: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
Freezeboy
915ed652e1 Upgrading tests for Axios 2015-07-28 15:44:55 +02:00
Freezeboy
60d94be0e9 Add a configuration mapping to Axios 2015-07-28 15:06:00 +02:00
Freezeboy
b085e63aa7 Removing output from test 2015-07-28 01:27:20 +02:00
Freezeboy
3ff1f5c953 Update tests for Axios 2015-07-27 16:49:52 +02:00
Alp Mestanogullari
d3fa61c041 servant-js testsuite code cleanup 2015-07-23 13:47:44 +02:00
Alp Mestanogullari
a2a4665951 clean up servant-js significantly, simplify the API of the library a lot and document @freezeboy's sweet generators from #159 a bit in the main module of the library, Servant.JS along with how people should use the library. 2015-07-22 19:25:02 +02:00
Alp Mestanogullari
eabf13ebdb rename servant-jquery to servant-js, Servant.JQuery to Servant.JS 2015-07-22 19:25:02 +02:00
Renamed from servant-jquery/test/Servant/JQuerySpec.hs (Browse further)