Commit graph

1746 commits

Author SHA1 Message Date
Alp Mestanogullari
265b4276db Merge pull request #775 from ismail-s/patch-1
Fix broken link (minor fix)
2017-07-07 10:45:24 +02:00
Ismail
2d271dc127 Fix broken link 2017-07-06 16:43:37 +01:00
Oleg Grenrus
b79a0fe0ed Merge pull request #773 from ishiy1993/improve-markdown
Improve authStr in markdown
2017-06-29 14:34:15 +02:00
ishiy
1ba7624e69 Improve authStr in markdown 2017-06-29 19:01:46 +09:00
Oleg Grenrus
70aae4c5c0 Relax bound for http-media in servant-client 2017-06-27 21:59:01 +03:00
Oleg Grenrus
5482b16dd4 Merge pull request #772 from felixonmars/patch-1
Allow http-media 0.7
2017-06-27 20:57:14 +02:00
Felix Yan
51610fab60 Allow http-media 0.7 2017-06-27 23:16:10 +08:00
Oleg Grenrus
b21ba4be1e Merge pull request #771 from chris-martin/patch-1
fix typo: "philosophy"
2017-06-20 20:43:00 +02:00
Chris Martin
fbf870ac8a typo: "philosophy" 2017-06-20 11:42:08 -04:00
Catherine Galkina
be0878cdd8 Fix tests for different GHC versions 2017-06-19 18:58:25 +03:00
Catherine Galkina
262453b0d1 Add multiline Description example 2017-06-19 16:39:05 +03:00
Catherine Galkina
272e47c3d3 Increase stack size for GHC-7.8.4 tests 2017-06-19 14:59:26 +03:00
Catherine Galkina
ec0431d930 Add instances for new combinators 2017-06-08 18:27:36 +03:00
Catherine Galkina
2e59a82d01 Add Description and Summary combinators 2017-06-08 17:35:24 +03:00
Oleg Grenrus
bb7df7b890 Merge pull request #764 from phadej/ghc-8.2.1
GHC-8.2.1 stack.yaml
2017-06-07 18:40:45 +03:00
Oleg Grenrus
8959d61173 GHC-8.2.1 stack.yaml 2017-06-07 17:29:15 +03:00
Oleg Grenrus
705285209a Remove parentheses in ContextSpec 2017-06-03 21:44:40 +03:00
Oleg Grenrus
b8510edb7d Merge pull request #762 from fierce-katie/sub-precedence-#761
Lower infix precedence for (:>) and (:<|>)
2017-06-03 21:36:31 +03:00
Catherine Galkina
1c6927d3f5 Fix tests for servant-server 2017-06-02 18:47:28 +03:00
Catherine Galkina
e413310d0a Update changelog 2017-06-02 18:18:42 +03:00
Catherine Galkina
505ca457cc Lower Sub and Alternative infix precedence to 4 and 3 respectively 2017-06-02 18:11:05 +03:00
Oleg Grenrus
cc13d62c8c Use #warning in Setup.lhs 2017-05-24 10:22:01 +03:00
Oleg Grenrus
71ed8b3736 Merge pull request #747 from phadej/release-0.11
Release 0.11
2017-05-24 10:18:14 +03:00
Oleg Grenrus
22d0f6ccb9 Make GHC-8.0.2 stack.yaml the default 2017-05-24 08:02:57 +03:00
Oleg Grenrus
b6cfd64b5a GHC-8.2 readyness 2017-05-24 08:02:57 +03:00
Oleg Grenrus
ec930ac9a8 Release 0.11 2017-05-24 08:02:56 +03:00
Oleg Grenrus
f6c30b2892 Allow mmorph-1.2 2017-05-24 07:51:07 +03:00
Oleg Grenrus
3017bce18a Merge pull request #756 from shak-mar/patch-1
Fix typo in ApiType.lhs
2017-05-19 16:06:55 +03:00
shak-mar
76703e5b80 Fix typo in ApiType.lhs 2017-05-19 15:02:10 +02:00
Oleg Grenrus
f0eec498a1 Merge pull request #755 from osa1/fix_reqbody_samples
Don't drop samples in `HasDocs ReqBody` instance
2017-05-19 14:58:06 +03:00
Oleg Grenrus
1ccb0ef812 Merge pull request #753 from DaveCTurner/issue-753
Add a type representing an empty API
2017-05-17 11:54:10 +03:00
David Turner
8b993b9d11 Changes to docs as suggested 2017-05-17 08:24:04 +00:00
David Turner
aa3716b6aa Tidy up tutorial 2017-05-17 05:50:38 +00:00
David Turner
a3c5f17749 Generalise type of emptyServer so it can be Entered 2017-05-17 05:17:08 +00:00
David Turner
f3ac10a1c4 Add missing DeriveDataTypeable 2017-05-16 16:26:47 +00:00
David Turner
7d07db7ed3 Add test for safeLink applied to an EmptyAPI type 2017-05-16 16:25:01 +00:00
David Turner
249a8386a5 Derive Enum on EmptyAPI 2017-05-16 16:04:25 +00:00
David Turner
021bcd9e23 Document that EmptyAPI is, morally speaking, the unit of :<|> 2017-05-16 16:03:25 +00:00
David Turner
0bbc4f98a4 Rename EmptyAPIClient to EmptyClient 2017-05-16 16:00:15 +00:00
David Turner
f5d9983381 Rename emptyAPIServer to emptyServer 2017-05-16 15:59:41 +00:00
David Turner
6feb27e7b2 Rename EmptyAPIServer to EmptyServer and add deriving clause 2017-05-16 15:53:19 +00:00
Ömer Sinan Ağacan
d8dd1cb90a Don't drop samples in HasDocs ReqBody instance
As reported in #754, `HasDocs` instance of `ReqBody` was dropping samples other
than the first one. With this patch we show at most `_maxSamples` samples for
`ReqBody`, and also include the sample title in the docs.
2017-05-16 14:19:52 +03:00
David Turner
62560079b1 Add docs for serving an EmptyAPI 2017-05-16 11:09:54 +00:00
David Turner
178f05595a Better docs for EmptyAPIClient 2017-05-16 11:06:37 +00:00
David Turner
e73f00b333 Test that no foreign functions are generated for an EmptyAPI 2017-05-16 10:31:33 +00:00
David Turner
113561639a Fix name of test 2017-05-16 10:31:02 +00:00
David Turner
4b7ffc9461 Add test that EmptyAPI does not generate any docs 2017-05-16 10:29:27 +00:00
David Turner
2c6aca0fc6 Add to ComprehensiveAPI 2017-05-16 10:26:06 +00:00
David Turner
e60bdadead Demonstrate that a client for EmptyAPI pattern-matches EmptyAPIClient 2017-05-16 10:21:37 +00:00
David Turner
937a5c98fd Add test for emptyAPIServer 2017-05-16 10:18:57 +00:00