caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* how to print (or cast) an integer
@ 2008-08-06 14:08 Ben Aurel
  2008-08-06 14:13 ` [Caml-list] " Andrew Gacek
  2008-08-06 14:38 ` Ashish Agarwal
  0 siblings, 2 replies; 4+ messages in thread
From: Ben Aurel @ 2008-08-06 14:08 UTC (permalink / raw)
  To: caml-list

hi

again a noob question

--
1 let x = 1 and y = 2;;
2
3 x + y ;;
--

how can I print the result on line 3? Printf.printf? I can't find a
solution based on the docu
http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printf.html

thanks
ben


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

end of thread, other threads:[~2008-08-06 18:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-06 14:08 how to print (or cast) an integer Ben Aurel
2008-08-06 14:13 ` [Caml-list] " Andrew Gacek
2008-08-06 14:38 ` Ashish Agarwal
2008-08-06 18:34   ` David Allsopp

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