@hackage perm0.4.0.0
permutation Applicative and Monad with many mtl instances
Installation
Dependencies (4)
- base >=4 && <5
- catch-fd >=0.2 && <0.4
- mtl >=2.0 && <2.2
- transformers >=0.2 && <0.4 Show all…
Dependents (1)
@hackage/acme-everything
Based on "Parsing Permutation Phrases", by Arthur Baars, Andres Loeh and S.
Doaitse Swierstra, Haskell Workshop 2001. The implementation given here
does not include explicit optional actions, and instead implements
Alternative and MonadPlus. m should
be used where <*> (lift n <|> pure a) would be used.addOpt m a n