Ocaml utop library paths, Core module

后端 未结 2 964
误落风尘
误落风尘 2021-02-19 23:41

I am attempting to use the Core module in utop, as originated by Jane Street and installed using opam.

Here\'s the problem

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-20 00:19

    Assuming that you have core properly installed through opam:

    # require "core";;
    open Core.Std;;
    

    Should work.

提交回复
热议问题