requirements). For instance, you
can't even define the stream of all integers 0.1.2.3.4...
The proper OCaml type for integer streams is
type stream = Cons of int * stream Lazy.t
and with this type you should be able to do pretty much everything you
want to do with your equations.
HTH,
- Xavier
. Guaranteed O(log n) is the way to go for Web app developers
to sleep soundly at night.
Resignedly awaiting a CVE about association lists,
- Xavier Leroy
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http
was that we don't need a CVE to know this, just basic
algorithmic reasoning.
- Xavier Leroy
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin
(pa_monad).
Regards,
- Xavier Leroy
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
that this approach works.
How to get a random number that is good enough?
Hmm. /dev/random is your friend on the platforms that support it.
Otherwise, there's always the Random module, but Random.self_init
isn't very strong.
- Xavier Leroy
--
Caml-list mailing list. Subscription management
around; volunteers to take over its maintenance would be most
welcome.
All right. Let me stop here and pray for constructive, non-knee-jerk reactions.
- Xavier Leroy
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list
be sufficient ?
I have contacted Xavier Leroy and Pierre Weis a few years ago to get
the TeX sources of the book. I didn't intend to translate from French
to English, but only, for a start, from Caml Light to Objective Caml.
Neither of them could find the sources
There must have been a misunderstanding
/TRaAT/
Hope this helps,
- Xavier Leroy
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
on Zarith's
big integers, provided OCaml 3.12.1 or later is used.
Feedback is welcome, preferably through the bug tracker at
http://forge.ocamlcore.org/projects/zarith/
Enjoy,
- Xavier Leroy
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml
).
If both conditions are met, your code should be all right. If it
still misbehaves, feel free to post a repro case on the bug tracker
http://caml.inria.fr/mantis
- Xavier Leroy
--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's
10 matches
Mail list logo