简体   繁体   中英

Ocaml. Core module in OcaIDE eclipse

I started programming with Ocaml few days ago. I use eclipse OcaIDE, ubuntu.

When I try to use the Core module in a code : open Core.Std ...

I get an error: Error: Unbound module Unix

I tried to create .ocamlinit file with adds:

#use "topfind";;
#thread;;
#camlp4o;;
#require "core.top";;
#require "core.syntax";;

The same error occurs in eclipse. Сode without the use of the modules run fine.

Please, tell me, what I have to do?

Sorry for bad english. Thank You for your answers!

OCaIDE is not wide-spread in OCaml community, so it is not well supported. Try to use emacs or vim. If you insist on using OCaIDE, then a good place to start is to view tutorials .

PS Even if you manage to configure OCaIDE it will be still much worse than Emacs+ Merlin .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM