Browse thread
[Caml-list] 'should have type unit' warning in 'let _ =' ?
[
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: | Richard Jones <rich@a...> |
| Subject: | Re: [Caml-list] 'should have type unit' warning in 'let _ =' ? |
On Tue, Jul 15, 2003 at 10:04:36AM +0900, Jacques Garrigue wrote: > By the way, there is a reason "let _ =" produces no warning: this is > the only way to do a partial application without warning. > "expr; ..." and even "ignore (expr); ..." will produce a warning. Interesting ... what's the use of a partial application which is then ignored? Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you. All new technology is irrelevant until it is taken up by the public. ------------------- 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