Install the module bigstringaf following:
opam pin add -n bigstringaf .
opam install --deps-only bigstringaf
opam install bigstringaf
Then I tested it using make test
and successed, but when I tried in ocaml, it failed. And I find the package using ocamlfind list
>ocaml
OCaml version 4.09.0
# open Bigstringaf;;
Error: Unbound module Bigstringaf
# require "Bigstringaf";;
Error: Unbound value require
require
is actually a toplevel command, meaning you need to write #
before it. You also need to give it a package name which is different from the module name (in this case it's the same, just not capitalized).
# #require "bigstringaf";;
/home/oli/.opam/4.09.0/lib/bigarray-compat: added to search path
/home/oli/.opam/4.09.0/lib/bigarray-compat/bigarray_compat.cma: loaded
/home/oli/.opam/4.09.0/lib/bigstringaf: added to search path
/home/oli/.opam/4.09.0/lib/bigstringaf/bigstringaf.cma: loaded
# open Bigstringaf;;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.