on master help sign in
tweak readme
commitfb3dd2225481d2010ca23ce29678fc81759becf8 authorGreg Hale <imalsogreg@gmail.com> dateTue 8 Mar 2016, 15:06 (11 years ago) parentf21e26f
1 file changed+1
README.md+1
README.md+1
@@ -65,6 +65,7 @@ type API = "getint" :> Get '[JSON] Int
6565These client functions are computed from the API and manage serialization, XhrRequest generation, and deserialization for you. `a` parameters become `Behavior t (Maybe a)` values. You provide a trigger event and receive an `Event t (Maybe r, XhrResponse)`, with responses from the API server (which you would write with `servant-server`).
6666
6767```haskell
68+ -- No need to write these functions. servant-reflex creates them for you!
6869 getint :: MonadWidget t m
6970 => Event t () -- ^ Trigger the XHR Request
7071 -> m (Event t (Maybe (Int, XhrResponse))) -- ^ Consume the answer