Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Use of Hashtbl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas George <nicolas.george@e...>
Subject: Re: [Caml-list] Use of Hashtbl
Le sextidi 6 frimaire, an CCX, Francois Thomasset a écrit :
> # T.add hashtable "un" ();; T.add hashtable "deux" ();;

It has nothing to do with Hashtbl:

# prerr_endline "one";; prerr_endline "two";;
one
- : unit = ()
# prerr_endline "one";; + syntax error;;
one
- : unit = ()

Obviously, the toplevel stops parsing after the first ;;.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr