I'm new to OCaml. I installed utop(version 2.6.0) with latest homebrew on MacOS, installed libraries with opam install core base
.
Here's my .ocamlinit
:
#use "topfind";;
#thread;;
#require "core.top";;
open Base;;
open Core;;
I met an error of type FI
:
utop # FI;;
Line 1, characters 0-2:
Error: The constructor FI expects 3 argument(s),
but is applied here to 0 argument(s)
What's type FI
in OCaml ?
Here's type info
introduced in TAPL(https://www.cis.upenn.edu/~bcpierce/tapl/): type info = FI of string * int * int | UNKNOWN
,
What's type UNKNOWN
in OCaml ?