Nickolay Kudasov
98af812491
Move toSample method out of ToSample class
...
toSample method conflicted with default Generics implementation.
2015-09-19 02:27:51 +03:00
Index Int
c5257f42ab
Depend on transformers-compat
2015-09-12 16:28:20 +03:00
Index Int
f2f7b061d2
Drop EitherT
in favor of ExceptT
2015-09-12 15:11:24 +03: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
Taylor Fausak
4238a58f92
Fix #203 ; add path to BaseUrl
2015-08-25 08:42:13 -05: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
Brandon Martin
dda0616989
quick chat example base on chat example from engine-io
2015-07-28 05:52:02 -06:00
Julian K. Arni
1c9d5baa99
Bump versions to 0.5
2015-07-27 22:26:49 +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
0f15cb7328
fix servant-js import in examples/tutorial
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
Freezeboy
294143af1d
Modifying T9.hs accordingly with new js gen
...
Simply import JQuery generators
And change the jsForAPI call
2015-07-22 19:25:01 +02:00
Julian K. Arni
5db91c9ecb
Cabal file fixes
2015-07-09 23:34:21 +02:00
Alp Mestanogullari
13edc014b7
clarify some variable names in the examples + semantic html pedantry
2015-06-18 12:32:00 +02:00
Andres Loeh
e83397a1db
Fix the auth combinator example.
...
This change adapt the auth combinator example to the new router code.
In general, the server interpretation of user-written combinators will
be affected by the new routing code.
The change here also introduces a change in functionality: previously,
wrong authentication triggered a "hard failure", whereas we now trigger
a "soft failure", which is recoverable. For the simple example, this
does not make a lot of difference.
In general, I think having a soft failure is the right option to take
here, although we want a more general story about the relative
priorities of different error codes.
2015-06-04 13:12:21 +02:00
Julian K. Arni
0b3291970f
Bump to 0.4.1
2015-05-29 16:24:08 +02:00
Julian K. Arni
7976468a32
Add servant bounds for servant-examples.
2015-05-28 11:22:43 +02:00
Julian K. Arni
15a39b8a7b
Upper bounds to base for servant-examples
2015-05-10 14:38:23 +02:00
Alp Mestanogullari
39d114ab12
getting-started -> tutorial
2015-05-10 13:39:18 +02:00
Alp Mestanogullari
4653744706
examples: use 'random' instead of 'probable' for GS9
2015-05-10 12:20:02 +02:00
Alp Mestanogullari
e0f4ed6426
adapt examples to baseurl fix
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
a403eee488
examples: don't depend on pandoc & servant-pandoc, just serve a markdown file
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
616b203792
examples: add GS10
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
77b15e9cdc
examples: add GS9
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
0000189760
examples: add GS8
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
c892aae429
examples: add GS7
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
ec95cb0355
examples: add GS6
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
1d3eefaf48
examples: add GS5
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
e81ac8fbc5
examples: add GS4
2015-05-09 18:11:03 +02:00
Alp Mestanogullari
f3002b36da
examples: tweak GS3
2015-05-09 18:11:03 +02:00
Alp Mestanogullari
3edc067c66
servant-examples: add GS3
2015-05-09 18:11:03 +02:00
Alp Mestanogullari
66456cafa2
refactor a bit + add GS2
2015-05-09 18:11:03 +02:00
Alp Mestanogullari
2b23253a8d
first getting-started example
2015-05-09 18:11:03 +02:00
Julian K. Arni
b81ea9eee2
Bump everything to 0.4
2015-05-09 17:28:52 +02:00
Brandon Martin
7c24c2a5a3
remove unsed type and clean up
...
merge master and fix conflicts
2015-05-08 15:53:09 -06:00
Julian K. Arni
92d65aaf49
-Wall fixes
2015-05-03 13:36:51 +02:00
Alp Mestanogullari
4c86c7395c
add an auth combinator example
2015-04-24 14:00:57 +02:00
Alp Mestanogullari
e371fb886f
add an example to show how to apply a WAI middleware
2015-04-24 12:37:33 +02:00
Alp Mestanogullari
ac73b825f0
fix tab warning
2015-04-23 17:10:43 +02:00
Alp Mestanogullari
29632c4ac2
add an example on how to derive client functions for Hackage
2015-04-23 13:07:52 +02:00