I am learning OCaml with a book called "Real World OCaml", and so far it works well.
I have a problem with sexp and Sexplib.
# module type M = sig
# type t with sexp
# end;;
This is an example tutorial, but I have a syntax error in utop with an underlined word with. Core.Stdopen.
Can anyone explain this? I doubt that they have changed the syntax of the language.
source
share