caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Reason why 'for' doesn't work across floats?
@ 2004-01-08 14:11 Richard Jones
  2004-01-08 15:03 ` Michal Moskal
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Jones @ 2004-01-08 14:11 UTC (permalink / raw)
  To: caml-list

Is there a particular reason why I shouldn't be allowed to step over
floats?

# for r = 0. to 9. step 1. do printf "%f" r done;;
          --
This expression has type float but is here used with type int

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
http://www.winwinsales.co.uk/ - CRM improvement consultancy

-------------------
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] 6+ messages in thread

end of thread, other threads:[~2004-01-09  7:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-08 14:11 [Caml-list] Reason why 'for' doesn't work across floats? Richard Jones
2004-01-08 15:03 ` Michal Moskal
2004-01-08 15:47   ` Jacques Carette
2004-01-08 15:47   ` Richard Jones
2004-01-08 16:15     ` Artem Prisyznuk
2004-01-09  7:36     ` Florian Hars

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