Version française
Home     About     Download     Resources     Contact us    
Browse thread
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: briand@a...
Subject:

This is a really weird user experience :


~/src/ocaml/math $ ocaml
        Objective Caml version 3.08.0

# #load "const.cmo";;
# Const.pi
  ;;
- : float = 3.14159265358979312
# 

Great, so that works as per the manual...
So then I change into another directory and load the EXACT SAME file.


~/src/ocaml/math $ cd ..
~/src/ocaml $ cd pll
~/src/ocaml/pll $ ocaml
        Objective Caml version 3.08.0

# #load "../math/const.cmo";;
# Const.pi;;
Unbound value Const.pi

Huh ??

Brian


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners