eskimor / servant-purescript

Translate servant API to purescript code, with the help of purescript-bridge.
BSD 3-Clause "New" or "Revised" License
105 stars 44 forks source link

use MonadAsk instead of MonadReader #19

Closed themoritz closed 7 years ago

themoritz commented 7 years ago

Since local is never used, we can use the weaker MonadAsk. This makes the generated code useful in more situations (e.g. halogen, where only MonadAsk is available).

Basically s/MonadReader/MonadAsk/g + some stylish-haskell changes.

eskimor commented 7 years ago

nice!