Closed jaredly closed 8 years ago
From the iocaml command:
iocaml
From jupyter, starting a notebook w/ the ocaml kernel:
jupyter
ocaml
My ~/Library/Jupyter/kernels/ocaml/kernel.json (swiped from this gist) looks like:
~/Library/Jupyter/kernels/ocaml/kernel.json
{ "display_name": "OCaml", "language": "ocaml", "argv": [ "/Users/jared/.opam/io2/bin/iocaml.top", "-log", "iocaml.log", "-object-info", "-completion", "-connection-file", "{connection_file}" ] }
Is there some arg I'm missing or something?
ah, solution was #require "iocaml-kernel.notebook"
#require "iocaml-kernel.notebook"
From the
iocaml
command:From
jupyter
, starting a notebook w/ theocaml
kernel:My
~/Library/Jupyter/kernels/ocaml/kernel.json
(swiped from this gist) looks like:Is there some arg I'm missing or something?