Real World Ocaml examples not working

"Roelof Wobben [email protected] [ocaml_beginners]" <[email protected]>
Newsgroups gmane.comp.lang.ocaml.beginners
Message-ID <[email protected]>
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.