Open gjaldon opened 7 years ago
Same issue here! OCaml 4.02.3 here.
This shows another syntax [@@deriving fields], which works.
Not sure what that means though.
Same issue here! module type M = sig type t with sexp end;; The above is a textbook example, however, utop returns syntax error with "with" word underlined.
Ran into same issue. See reply in Google Groups from @yminsky: https://groups.google.com/d/msg/ocaml-core/g9UfzyQ0hL8/HWqDU2UlBAAJ
I'm trying to run the below code but get a syntax error for
with
:I've already loaded
core
withopen Core.Std;;
. Is there some other step I'm missing or doesfieldslib
no longer work with Ocaml 4.03? I'm running the code above in utop (1.19.3), btw.