caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Array.make
@ 2001-12-29 22:18 Ian Zimmerman
  2001-12-30 12:58 ` David Mentré
  2002-01-04 13:35 ` Xavier Leroy
  0 siblings, 2 replies; 3+ messages in thread
From: Ian Zimmerman @ 2001-12-29 22:18 UTC (permalink / raw)
  To: OCAML


According to the documentation (in 3.01 at least),

Array.make n a

raises an exception when n = 0.  Why?  It looks like an unnecessary
special case.  The damned hysterical raisins again?

BTW, the documentation also doesn't say how Array.init behaves in this
respect. 

-- 
Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.
-------------------
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


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

end of thread, other threads:[~2002-01-04 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-29 22:18 [Caml-list] Array.make Ian Zimmerman
2001-12-30 12:58 ` David Mentré
2002-01-04 13:35 ` Xavier Leroy

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