ppx_monadic

AuthorJun Furuse
Homepagehttps://bitbucket.org/camlspotter/ppx_monadic
Issue Trackerhttps://bitbucket.org/camlspotter/ppx_monadic/issues?status=new&status=open
Maintainerjun.furuse@gmail.com
Dependencies
&ocamlfind
omake
ppx_tools_versioned
ppxx>= 2.0.0&2.2.0
Availableocaml-version >= "4.03.0"
PublishedJun 28, 2017
Source [http] https://bitbucket.org/camlspotter/ppx_monadic/get/1.1.0.tar.gz
6f67c80ba1b4d14412910538b3dec8dd
StatisticsInstalled 4 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_monadic/ppx_monadic.1.1.0/opam

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