Browse thread
[Caml-list] Function forward declaration?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Christopher Dutchyn <cdutchyn@c...> |
| Subject: | Re: [Caml-list] Function forward declaration? |
On Wed, 8 Apr 2004, skaller wrote: > A more complex error check might look like this: > > if A then > if B then error > ; Color me naive, but isn't that just if A and B then error else ... assuming there's something else to do than check A and B. Eliding else in a failwith/throw seems common. Chris Dutchyn cdutchyn@cs.ubc.ca ------------------- 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