This is the Uchar compatibility library from OCaml 4.03, backported to
forked from OCaml 4.02.3) and Reason (an alternative OCaml syntax
targeting that compiler.)
You can safely ignore the installation instructions below when compiling to JS. Instead:
- Install this fork through npm:
npm install --save @elliottcable/bs-uchar
- Manually add
`bs-dependencies`: "bs-dependencies": [ ... "@elliottcable/bs-uchar" ],
[BuckleScript]: <https://bucklescript.github.io/> [Reason]: <https://reasonml.github.io/>
Original README follows:
Uchar — Compatibility library for OCaml's Uchar moduleRelease %%VERSION%%
ucharpackage provides a compatibility library for the
Uchar1 module introduced in OCaml 4.03.
ucharpackage is distributed under the license of the OCaml compiler. See LICENSE for details.
Home page: https://ocaml.github.io/uchar/
Contact: Daniel Bünzli
If you don't use
opam install uchar
opamfile for build instructions.
test/testpkg.mlcan be used to test the compilation of the package. Once the package is installed the following invocation should succeed both before and after 4.03
ocamlbuild -X src -use-ocamlfind -pkg uchar test/testpkg.native