This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
17
unikernel/duniverse/ocaml-syntax-shims/README.md
Normal file
17
unikernel/duniverse/ocaml-syntax-shims/README.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
ocaml-syntax-shims
|
||||
==================
|
||||
|
||||
This package provides a small utility that backports some of the newer
|
||||
OCaml syntax to older OCaml compilers. This allows adopting new
|
||||
features such as `let+` while still keeping compatibility with older
|
||||
OCaml compiler.
|
||||
|
||||
To use it, simply depend on this package and add the following field
|
||||
to your `library` or `executable` stanzas in your `dune` files:
|
||||
`(preprocess future_syntax)`. For instance:
|
||||
|
||||
```scheme
|
||||
(library
|
||||
(name mylib)
|
||||
(preprocess future_syntax))
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue