Closed mardukbp closed 9 years ago
Sorry, the notebooks in the repository are a bit out of date. I'll try and get them into working order again asap.
Some specific advice; when using javascript based compilation (ie -js <kernel>
) if you want to use #require
then add the option -serve-jslibs
. You may also need to add #use "topfind"
to the top of the notebook (or .iocamlinit
file).
For the byte code kernel, to access the Iocaml
module you will need to add #require "iocaml-kernel.notebook"
.
Hope that helps (and if not the notebooks should be fixed shortly).
Thank you! Adding #require "iocaml-kernel.notebook"
to the first cell of both notebooks did it.
If I run
iocaml -js min
then the notebookiocaml-symbolic-math.ipynb
runs without problems, but the notebookiocaml-Vg.ipynb
raises the error Unknown directive `require'.Now, if I run
iocaml
then the above error does not show up, but both notebooks crash with Unbound module Iocaml.I already followed the advice of issue #14. I am using ocaml 4.01.