caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Simple clock
@ 2004-12-14 17:17 romildo
  2004-12-14 17:38 ` [Caml-list] " Keith Wansbrough
  0 siblings, 1 reply; 9+ messages in thread
From: romildo @ 2004-12-14 17:17 UTC (permalink / raw)
  To: caml-list

Hello.

I am willing to write a very very simple clock in
OCaml, but do not know exactly how to do it.

I would like to start with a console program
that just prints the current time every second.
The output would be something like the following:

$ simpleclock
15:15:58
15:15:59
15:16:00
15:16:01

I want to receive sugestions on how to implement
this.

Regards,

Romildo


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

end of thread, other threads:[~2004-12-15 17:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-14 17:17 Simple clock romildo
2004-12-14 17:38 ` [Caml-list] " Keith Wansbrough
2004-12-14 18:17   ` Lars Nilsson
2004-12-14 20:39     ` romildo
2004-12-14 21:52       ` Ville-Pertti Keinonen
2004-12-15  3:20       ` Kurt Welgehausen
2004-12-15 17:37         ` Evan Martin
2004-12-14 20:43   ` romildo
2004-12-15  3:00     ` 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).