ppx_monadic

AuthorJun Furuse
Homepagehttps://bitbucket.org/camlspotter/ppx_monadic
Maintainerjun.furuse@gmail.com
Dependencies
&ocamlfind
omake
ppx_tools
Availableocaml-version >= "4.02.1" & ocaml-version < "4.03.0"
PublishedFeb 18, 2015
Source [http] https://bitbucket.org/camlspotter/ppx_monadic/get/1.0.3.tar.gz
c9188bf1b22c5f828a18f5ab469c4d12
StatisticsInstalled 2 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_monadic/ppx_monadic.1.0.3/opam

ppx_monadic: ppx extension for do notation, pattern guards, and monad comprehension

ppx_monadic

ppx_monadic is a PPX syntax extension for monadic bind syntactic sugar.

The sugar is supported inside the following constructs:

  • do_ sequence notation for monadic bind
  • when clause for pattern guards
  • [%comp e || ..] for list (and other monadic) comprehensions