Simon Cruanes
bc6c8947b1
start using preprocessor to remove some shim modules
2022-02-16 23:01:00 -05:00
Simon Cruanes
569e254540
fix: use ==
2022-01-02 12:15:31 -05:00
Simon Cruanes
64ecd0c3ba
add shims for Atomic and Unit
2022-01-02 12:08:16 -05:00
Simon Cruanes
4e0f35c078
make fun shims inline
2021-12-22 11:00:33 -05:00
Simon Cruanes
2100a0a0fb
fix: rely on either compatibility library
2021-10-24 22:56:36 -04:00
Fabian
dcf1b4aa6c
Fix integer overflow warning on jsoo ( #346 )
...
- Remove popcount from shims
- Express large integer literals using bitshifts
2021-02-21 15:53:54 -05:00
Fardale
23bcc8887c
feat: add CCEither module
2021-01-25 19:52:16 +01:00
Simon Cruanes
fc57765c31
fix(ccint): pick popcount at runtime on 64 bits
...
(we can compile on 64 bits, at least for bytecode, and execute
on 32 bits native or jsoo's 32 bits; therefore we need to pick the
implementation at runtime).
2020-12-28 17:13:02 -05:00
Simon Cruanes
858dee7279
fix: in shims, use configurator properly to determine int size
...
close #346
2020-12-27 22:44:20 -05:00
Simon Cruanes
ca7801a854
fix: use shims again for CCList.(and&)
2020-11-13 15:36:55 -05:00
Simon Cruanes
26df938968
more doc
2020-11-05 12:05:31 -05:00
Simon Cruanes
09298b3324
small change in shims generation
...
as @fardalem points out, better be conservative on archictures and have
64bits popcount be the special case
2020-08-06 09:46:33 -04:00
Simon Cruanes
e0f2c78edd
fix(int): use shims to provide separate 32/64 bits versions of popcount
...
close #327
2020-08-05 14:05:48 -04:00
Simon Cruanes
4122ffa6ab
doc: fix some ocamldoc warnings
2020-07-23 16:32:52 +02:00
Fardale
8b319edbe1
doc(core): add link to the doc of std module ( #320 )
2020-06-30 17:31:52 +02:00
Fardale
eaa421c62d
chore(int): include module Int for ocaml >= 4.08
2020-05-23 11:37:56 +02:00
Simon Cruanes
b69cc33c26
perf: make let-op functors inline, hopefully
2019-12-14 12:08:48 -06:00
Simon Cruanes
9b76f277f7
more fixes for the shims
2019-12-14 12:08:48 -06:00
Simon Cruanes
616c077880
fix: proper shims for CCArrayLabel too
2019-12-14 12:08:48 -06:00
Simon Cruanes
d5e5b43e1f
fix shims for arrays
2019-12-14 12:08:48 -06:00
Simon Cruanes
74e7d87872
fix: backport a pseudo Floatarray pre 4.06
2019-12-14 12:08:48 -06:00
Simon Cruanes
bf0227d404
feat: on 4.08, support let operators
...
close #276
2019-12-14 12:08:48 -06:00
Simon Cruanes
1b5b23a8f1
remove unlabel, remove all traces of Result
2019-12-10 20:48:38 -06:00
Simon Cruanes
b25cf1ea00
fix: forgot const
2019-10-11 17:05:34 -05:00
Simon Cruanes
ab5b3aa6af
refactor: remove stdlib's code, simple reimplementation of Stdlib.Fun
...
keep the whole codebase BSD.
2019-10-11 16:59:22 -05:00
Christopher Zimmermann
6a51830305
Don't use raise_with_backtrace in backward-compatible Fun.protect
2019-10-07 14:07:11 +02:00
Christopher Zimmermann
5fcd1a506e
add shim for backward-compatibility Fun module
2019-10-07 13:42:48 +02:00
Kate
e7c265bcf9
Fix Containers.Stdlib on OCaml 4.07
2019-07-05 11:08:55 -05:00
Simon Cruanes
7ff5aa0d18
fix: add shims for CCArray
2019-06-18 23:10:26 -05:00
Simon Cruanes
96ed8a37ab
feat: introduce shim modules for 4.08 compat
...
- also make `unlabel` an explicit operation
- use `Stdlib` instead of `Pervasives`
- remove some warnings in Format
2019-06-14 18:26:14 -05:00