package ppx_seq

  1. Overview
  2. Docs
Simple unintrusive ppx rewriter that offers Seq literals

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.1.tar.gz
sha256=1f2bba87ce93ce8f10dd5f0dcfc963c00225135f00b265664efb786929d80548
md5=4fe973a7f42e436b855f6205886e74ac

README.html

README

ppx_seq
-------

simple unintrusive ppx rewriter that provides easy-to-construct sequence syntax

this rewriter aims to facilitate the use of Seq module, especially after the
excellent additions to it starting from OCaml 4.14

example:
  [%seq 1; 2; 3] => fun()->Cons(1, fun()->Cons(2, fun()->Cons(3, fun()->Nil)))
  [%seq.empty] => fun()->Nil

OCaml

Innovation. Community. Security.