Browse thread
[Caml-list] Why warning?
[
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: | 2001-09-13 (16:39) |
From: | Pierre Weis <Pierre.Weis@i...> |
Subject: | Re: [Caml-list] Why warning? |
> Why is this warning occurred? > Where can I get infomation about this? (ex: 'nnn' page on manual, articles > or books) > > # 1; 2;; > Warning: this expression should have type unit. > - : int = 2 > > --- SooHyoung Oh Have a look to the FAQ: http://pauillac.inria.fr/caml/FAQ/pgl-eng.html#avertissements paragraph entitled ``Sequence warnings''. Different ways of getting rid of the warning are discussed, including the most demanding one (and, to my knowledge, the best one): ``understand why (the warning) is emitted by the compiler''. Best regards, Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ ------------------- 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