1、open Core.Std 时报Unbound module Core
先安装库
$ opam init
$ opam install core
$ opam install utop
在~/.ocamlinit头部添加下面代码
#use "topfind"
#camlp4o
#thread
#require "core.top"
#require "core.syntax"
到这里后还是不行,后来想起系统很久没关机了,重启了一下系统就一切OK了
1、open Core.Std 时报Unbound module Core
先安装库
$ opam init
$ opam install core
$ opam install utop
在~/.ocamlinit头部添加下面代码
#use "topfind"
#camlp4o
#thread
#require "core.top"
#require "core.syntax"
到这里后还是不行,后来想起系统很久没关机了,重启了一下系统就一切OK了