Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Group common functionality in the export list

 * Also export the Applicative/Alternative derivation functions
  • Loading branch information...
commit 1785315e65ec443b90a3290068b37931fd15015d 1 parent 45cd222
Trevor Elliott authored
Showing with 18 additions and 5 deletions.
  1. +18 −5 src/MonadLib/Derive.hs
View
23 src/MonadLib/Derive.hs
@@ -2,12 +2,25 @@
to get the functionality of MonadLib for user-defined newtypes.
-}
module MonadLib.Derive (
- Iso(Iso), derive_fmap, derive_return, derive_bind, derive_fail, derive_mfix,
- derive_ask, derive_put, derive_get, derive_set, derive_raise, derive_callCC,
- derive_abort,
- derive_local, derive_collect, derive_try,
+ Iso(Iso),
+ derive_fmap,
+ derive_pure, derive_apply,
+ derive_empty, derive_or,
+ derive_return, derive_bind, derive_fail,
derive_mzero, derive_mplus,
- derive_lift, derive_inBase,
+ derive_mfix,
+ derive_ask,
+ derive_local,
+ derive_put,
+ derive_collect,
+ derive_get,
+ derive_set,
+ derive_raise,
+ derive_try,
+ derive_callCC,
+ derive_abort,
+ derive_lift,
+ derive_inBase,
derive_runM,
) where
Please sign in to comment.
Something went wrong with that request. Please try again.