Re: Real World Ocaml examples not working

"Ashish Agarwal [email protected] [ocaml_beginners]" <[email protected]>
Newsgroups gmane.comp.lang.ocaml.beginners
Message-ID <CAMu2m2KFB8cqXW1uWCshfhPB_QpQCvhoVc6dqmE=B+O=ZJwx-Q@mail.gmail.com>
You need to first do:

# #require "core";;


On Thu, Oct 16, 2014 at 6:44 AM, Roelof Wobben [email protected]
[ocaml_beginners] <[email protected]> wrote:

>
>
> Hello,
>
> I try some examples of the realword Ocaml book but now I see this output :
>
> # let ratio x y = Float.of_int x / Float.of_int y ;;
> Error: Unbound module Float
> # open Core.std ;;
> Error: Syntax error
> # open Core.Std ;;
> Error: Unbound module Core
>
> How to solve this ?
>
> Roelof
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.