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
&jbuilder
ppx_tools_versioned>= 5.0
ppxx>= 2.3.0&2.4.0
Availableocaml-version >= "4.03.0"
PublishedJan 23, 2018
Source [http] https://bitbucket.org/camlspotter/ppx_monadic/get/2.3.0.tar.gz
acabe9d688bd3b9f80d7120699ee0a1f
StatisticsInstalled 265 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_monadic/ppx_monadic.2.3.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