Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] failwith, raise and type inference
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Paul Guyot <pguyot@k...>
Subject: Re: [Caml-list] failwith, raise and type inference
À (At) 13:49 +0000 2/04/04, Frederic van der Plancke écrivait (wrote) :
>Just a small precedence bug.
>
>failwith "The key " ^ key ^ " could not be found"
>
>is equivalent to:
>
>(failwith "The key ") ^ key ^ " could not be found"
>
>and not to:
>
>failwith ("The key " ^ key ^ " could not be found")

Oh yeah, that's obviously that. :)
Thanks for all the replies.

Paul
-- 
Philosophie de baignoire - consultations sur rendez-vous.

NPDS/NewtonOS: http://newton.kallisys.net:8080/
Apache/FreeBSD: http://www.kallisys.com/

-------------------
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