caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] [Q] explicit typing again
@ 2004-03-29  9:33 fis
  2004-03-29  9:50 ` Jacques Garrigue
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: fis @ 2004-03-29  9:33 UTC (permalink / raw)
  To: caml-list



hi,

sorry, but i am really enthusiastic about explicit typing.  i will
probably start to annotate expressions like "3" soon...  (-:

could anybody tell me how i get this one straight?

# let (a: int, b) = (1, 3) in a;;
# let (a, b) : int * int = (1, 3) in a;;

thanks a lot,
matthias

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-29 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-29  9:33 [Caml-list] [Q] explicit typing again fis
2004-03-29  9:50 ` Jacques Garrigue
2004-03-29  9:51 ` Remi Vanicat
2004-03-29  9:53 ` Martin Jambon
2004-03-29 13:07   ` [Caml-list] Polymorphic Variant Error message (CVS version) skaller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).