Closed progman1 closed 5 years ago
I recommend looking here for a more recent revision of this library:
thanks for that. I get another error though:
(*with your example from the staged-generic README*)
# #use "go.ml";;
/home/dev/.opam/4.02.1+modular-implicits-ber/lib/delimcc: added to search path
/home/dev/.opam/4.02.1+modular-implicits-ber/lib/delimcc/delimcc.cma: loaded
/home/dev/.opam/4.02.1+modular-implicits-ber/lib/genlet: added to search path
/home/dev/.opam/4.02.1+modular-implicits-ber/lib/genlet/genlet.cma: loaded
File "go.ml", line 1:
Error: Reference to undefined global `Trx'
That looks you you may be using the ocaml
top-level rather than metaocaml
(which loads Trx
automatically).
it needed both ocamlcommon.cma for Trx and ocamlbytecomp.cma/metalib.cma for Runcode.
there seems to be something screwy about the include directory setup - metalib.cma not found despite it being under lib/ocaml. and -I +compiler-libs didn't work either, a holdover from an earlier version of BER MetaOCaml or the implicits mod.
metaocaml not ocaml!
hi the 0.3.1 of [higher] pullled in a new [result] which pulled in a new [dune] which didn't compile (a shimming issue I think). so I down-versioned [higher] to 0.3.0 and there was a missing [genlet] package. got that then [syb] compile failed with
and ... I'm lost! I don't know what else to try so here is my humble request.