Commit graph

1546 commits

Author SHA1 Message Date
Simon Cruanes
cebee407ea add makefule rule for ocp-indent 2017-01-25 00:08:12 +01:00
Simon Cruanes
0a7d2a2411 update benchmarks (ignoring hamt); remove useless old script 2017-01-24 23:43:15 +01:00
Simon Cruanes
a0f3a5d24b update comments in CCParse 2017-01-24 23:28:08 +01:00
Simon Cruanes
dbe00f6ca5 update containers.ml so as to include all core containers 2017-01-24 23:26:23 +01:00
Simon Cruanes
8aab182642 large refactor of CCHash, main type is now 'a -> int 2017-01-24 23:21:10 +01:00
Simon Cruanes
8ad0dce97b CCFormat: remove start/stop args, make sep a unit printer 2017-01-24 22:50:26 +01:00
Simon Cruanes
e5adafced6 many improvements to CCFormat
- add `some`
- add `return`
- add `const`
- add `of_to_string`
2017-01-24 22:39:13 +01:00
Simon Cruanes
d76d3b95e3 add CCOrd.Infix 2017-01-24 22:19:59 +01:00
Simon Cruanes
6823015b63 update headers 2017-01-24 15:25:57 +01:00
Simon Cruanes
1e8f378f02 Merge pull request #93 from orbitz/add-predicates-for-result
Add `is_ok` and `is_error`, simple predicates for testing a result
2017-01-17 20:12:27 +01:00
orbitz
13888edb4d Add is_ok and is_error, simple predicates for testing a result. This is useful for tests or asserts 2017-01-17 20:09:26 +01:00
Simon Cruanes
3f80e794ba add CCFormat.tee 2017-01-11 18:40:07 +01:00
Simon Cruanes
ed38c25711 replace or_ by default in labelled functions 2016-12-29 11:45:55 +01:00
Simon Cruanes
601354305d breaking: remove trailing _ in CCOrd primitives 2016-12-29 11:43:48 +01:00
Simon Cruanes
f0aecf3b8e add doc for of_list in relevant modules (close #85) 2016-12-29 11:39:21 +01:00
Simon Cruanes
eb217a0cf1 add Labels modules to doc intro 2016-12-29 11:37:37 +01:00
Simon Cruanes
9b53e3c2a5 use Labels versions of CCList and CCArray 2016-12-29 11:07:44 +01:00
Simon Cruanes
a8babbd941 add labels to CCList 2016-11-11 00:52:44 +01:00
Simon Cruanes
b1837e7d05 add labels in CCArray 2016-11-11 00:39:58 +01:00
Simon Cruanes
f29329fb03 deal properly with broken symlinks and permission errors 2016-11-11 00:18:16 +01:00
Simon Cruanes
8e2fd235bb add some code in benchnarks for array.sort 2016-11-04 21:55:01 +01:00
Simon Cruanes
6dd0894c1f update benchmarks 2016-11-04 21:10:54 +01:00
Simon Cruanes
92f86da650 fix _oasis 2016-11-04 11:41:43 +01:00
Simon Cruanes
2f5fa8e7a1 detail in doc 2016-11-03 23:51:32 +01:00
Simon Cruanes
2d718b93ad remove CCHashconsedSet 2016-11-03 23:51:01 +01:00
Simon Cruanes
6943771bdf remove CCAllocCache 2016-11-03 23:49:50 +01:00
Simon Cruanes
d849b51892 remove CCBloom 2016-11-03 23:49:19 +01:00
Simon Cruanes
55ed78084f update doc 2016-11-03 23:47:18 +01:00
Simon Cruanes
13b34f4fcf simplify and cleanup of CCGraph 2016-11-03 23:25:39 +01:00
Simon Cruanes
7229f04981 detail 2016-11-03 23:25:35 +01:00
Simon Cruanes
89145313a5 improve CCUnix a bit 2016-11-03 22:37:26 +01:00
Simon Cruanes
a231bfb9c4 fix containers.ml 2016-11-03 22:21:22 +01:00
Simon Cruanes
192f315f53 simplify CCHash
- remove functor
- use `Hashtbl.seeded_hash` to combine values
2016-11-03 22:18:23 +01:00
Simon Cruanes
2c00983262 split CCList.Zipper into its own module, CCZipper in containers.data 2016-11-03 22:06:41 +01:00
Simon Cruanes
6ff6c51687 change argument ordering in CCList.Assoc 2016-11-03 22:03:13 +01:00
Simon Cruanes
ad1513e36c remove CCList.Idx, rename its functions to toplevel 2016-11-03 21:57:24 +01:00
Simon Cruanes
bf609e7f04 remove CCList.Set, move functions to toplevel and rename them 2016-11-03 21:45:15 +01:00
Simon Cruanes
9f34a7f6e3 remove containers.thread 2016-11-03 21:38:17 +01:00
Simon Cruanes
5a1a88d3f5 rewrite CCBitField with a much simpler interface 2016-11-03 21:35:53 +01:00
Simon Cruanes
4f6bce60e5 split CCArray.Sub into CCArray_slice 2016-11-03 21:24:21 +01:00
Simon Cruanes
610990e945 fix behavior of CCSexp
- allow "\123" escape codes
- allow "\b" escape codes
2016-11-03 20:45:47 +01:00
Simon Cruanes
c3e6e798e6 remove containers.string 2016-11-03 20:42:47 +01:00
Simon Cruanes
bd7a9ce070 add CCString.edit_distance 2016-11-03 20:27:26 +01:00
Simon Cruanes
72d43c6eeb add CCParse into core, a simple, lightweight version of parser combs 2016-11-03 20:10:18 +01:00
Simon Cruanes
8f7b29c3bd remove CCParse and CCKMP (will be replaced in core) 2016-11-03 19:08:00 +01:00
Simon Cruanes
46cee7096c expose CCString.Find for efficient sub-string searching 2016-11-03 18:48:25 +01:00
Simon Cruanes
83b0744a1b more type safety in String.Find 2016-11-03 18:39:03 +01:00
Simon Cruanes
5288713b76 remove poly-variant based errors, use result everywhere 2016-11-03 18:33:34 +01:00
Simon Cruanes
7628e654f7 remove containers.advanced 2016-11-03 18:29:23 +01:00
Simon Cruanes
13b283a91d remove buffer printers, rename pretty-printers to pp 2016-11-03 18:24:11 +01:00