You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Using ocaml.4.02.3 and campl5.6.17 I get the following problem:
#use "hol.ml";;
# module OrdInt = struct type t = int let compare = (-) end;;
Toplevel input:
# module OrdInt = struct type t = int let compare = (-) end;;
^^^^^^
Parse error: 'type' or 'rec' expected after 'module' (in [str_item])
Why can't I define modules anymore? How do I do to build maps on integers (Map.Make(OrdInt))?
The text was updated successfully, but these errors were encountered:
Hello. Using ocaml.4.02.3 and campl5.6.17 I get the following problem:
Why can't I define modules anymore? How do I do to build maps on integers (Map.Make(OrdInt))?
The text was updated successfully, but these errors were encountered: