package feat
Install
Dune Dependency
Authors
Maintainers
Sources
md5=23cc28b0ed3aba97c0aec44f620e04de
sha512=e8903c0ff3c1185c4d24a4b39ed641b8200fd9feb18dcc60f23ca4bf6053d6c17f5a037b732fa8f301f41b86a761ae6ffe52272e6deb997730f62bd1c065afcc
CHANGES.md.html
CHANGES
2022/04/07
Fix a serious bug in
Enum.sample
, which used OCaml's random number generator in such a way that it would always produce the same number. The fix modifies the signature of several internal modules, such asFeat.RandomBigInt
. The public API of the librariesfeat
andfeat-num
is unaffected. (Reported by Guyslain Naves.)
2022/01/01
Improved documentation.
2021/12/24
The library is now split in three packages:
feat-core
,feat
, andfeat-num
.feat-core
is parameterized over an implementation of big integers and over a random number generator.feat
instantiatesfeat-core
with big integers from the libraryzarith
and with OCaml's standard random number generator.feat-num
instantiatesfeat-core
with big integers from the librarynum
and with OCaml's standard random number generator. The packagesfeat
andfeat-num
offer the same API and are interchangeable. (Seedemo/with-feat
anddemo/with-feat-num
to see how the same code can be linked with either package.) The three submodules offered both byfeat
and byfeat-num
areNum
,IFSeq
, andEnum
. Compatibility with the previous release offeat
should be complete as long as only the submodulesIFSeq
andEnum
were used. (Contributed by Jonah Beckford; reviewed and adapted by François Pottier.)Avoid inadvertent uses of OCaml's polymorphic comparison operators on big integers.
Improved documentation.
2020/12/31
Initial release.