How to load core in the toplevel?
Sebastien Mondet
sebastien.mondet at gmail.com
Wed Nov 7 02:54:26 GMT 2012
I'm not sure if this is your problem, but there was something with the
toplevel (comming with the system compiler) not knowing about opam
packages.
I have to launch:
ocaml -I $OCAML_TOPLEVEL_PATH
(the variable OCAML_TOPLEVEL_PATH is set by eval `opam config -env`)
On Tue, Nov 6, 2012 at 9:37 PM, Francois Berenger <
francois.berenger.working at gmail.com> wrote:
> Apparently, ocamlfind knows where these libraries are:
>
> $ ocamlfind -query core
> /home/berenger/.opam/system/lib/core
> $ ocamlfind -query async
> /home/berenger/.opam/system/lib/async
> $ ocamlfind -query async_extra
> /home/berenger/.opam/system/lib/async_extra
>
>
> On Wednesday, November 7, 2012 11:32:43 AM UTC+9, Francois Berenger wrote:
>>
>> Hello,
>>
>> I'd like to play with core in my toplevel.
>>
>> Is there a recipe?
>>
>> I have installed everything with OPAM:
>> $ opam list | egrep "core|async"
>> async 108.07.01 Monadic concurrency library
>> async_core 108.07.01 Monadic concurrency library
>> async_extra 108.07.01 Monadic concurrency library
>> async_unix 108.07.01 Monadic concurrency library
>> core 108.07.01 Industrial strength alternative to
>> OCaml's standard library
>> core_extended -- Extra components that are not as closely
>> vetted or as stable as Core
>>
>> In my toplevel, I type
>> #use "topfind";;
>> #list;;
>>
>> Nothing about core or async shows up.
>> While parmap is there, for example.
>>
>> Is this normal?
>>
>> I guess there is some configuration file of findlib to tweak somewhere.
>>
>> Regards,
>> F.
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/core/attachments/20121106/e38ceec8/attachment.html>
More information about the core
mailing list