Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] raise extra arg ignored
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pixel <pixel@m...>
Subject: [Caml-list] raise extra arg ignored
failwith "foo" "bar"
failwith "foo"

are equivalent. 

exception Foo;;
raise Foo 1
raise Foo

same for this. I understand why it typechecks, but couldn't there be a special
check for this since it can't be useful (or can it??)

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