Commit graph

488 commits

Author SHA1 Message Date
Simon Cruanes
01c9573ae6 registered printers for CCError.guard,wrap1,etc. 2014-07-08 00:35:48 +02:00
Simon Cruanes
3acffa8659 doc 2014-07-08 00:20:36 +02:00
Simon Cruanes
8da92a7541 doc 2014-07-08 00:12:08 +02:00
Simon Cruanes
f3cdb0943e monadic operator in CCList: map_m_par 2014-07-07 13:41:15 +02:00
Simon Cruanes
e7660747d9 simple interface to PrintBox now more powerful 2014-07-04 02:02:14 +02:00
Simon Cruanes
1b98749c65 constructors for 1 or 2 elements fqueues 2014-07-04 02:02:03 +02:00
Simon Cruanes
abef0be6bd bugfixes in BTree (insertion should work now) 2014-07-03 22:56:07 +02:00
Simon Cruanes
84c8295b8e CCFQueue: logarithmic access by index 2014-07-03 22:17:57 +02:00
Simon Cruanes
656c70fdc2 add BTree partial implementation (not working yet) 2014-07-03 20:16:43 +02:00
Simon Cruanes
f6fd779f1c fix bug in CCPrint.to_file 2014-07-03 20:03:32 +02:00
Simon Cruanes
4102f3b95d CCArray.lookup for divide-and-conquer search 2014-07-03 15:08:59 +02:00
Simon Cruanes
9595ac688c CCList.sort_uniq 2014-07-02 16:47:10 +02:00
Simon Cruanes
b521f3af8e doc 2014-07-02 13:36:00 +02:00
Simon Cruanes
a64d7602a3 CCError: retry and choose combinators 2014-07-02 13:22:21 +02:00
Simon Cruanes
94ff411f9f fix bug in test 2014-06-29 23:33:10 +02:00
Simon Cruanes
39c33046ce stub for monadic IO in CCPrint 2014-06-28 15:16:37 +02:00
Simon Cruanes
3381fbcf38 readme 2014-06-28 04:07:02 +02:00
Simon Cruanes
50cc9f8d2c CCopt.pure 2014-06-28 04:06:58 +02:00
Simon Cruanes
d36e8dd38e bugfix; more tests 2014-06-28 04:01:18 +02:00
Simon Cruanes
735a11e5ec updated CCPersistentHashtbl with new functions;
updated doc, simplified code
2014-06-28 03:53:21 +02:00
Simon Cruanes
a356d811a7 move CCString into core/, since it deals with a basic type;
also add some features to CCString (Sub and Split modules
to deal with slices and splitting by a string)
2014-06-28 03:52:47 +02:00
Simon Cruanes
712472521d CCArray.blit, .Sub.to_slice;
some bugfixes
2014-06-28 02:03:14 +02:00
Simon Cruanes
f64002b053 applicative and lifting operators for CCError 2014-06-27 15:33:57 +02:00
Simon Cruanes
e6dd5db678 CCError.map2 2014-06-27 15:25:41 +02:00
Simon Cruanes
c340ad3358 more combinators in CCError 2014-06-27 15:25:41 +02:00
Simon Cruanes
6ae3e5b283 test for CCArray.shuffle 2014-06-26 21:55:20 +02:00
Simon Cruanes
983b23046c bugfix in CCArray.shuffle 2014-06-26 21:40:29 +02:00
Simon Cruanes
4c408d1182 CCOpt.get_exn 2014-06-26 15:37:07 +02:00
Simon Cruanes
ac35980c8b CCOpt.sequence_l 2014-06-26 15:10:13 +02:00
Simon Cruanes
9caefc0e5e mplus instance for CCOpt 2014-06-26 15:01:45 +02:00
Simon Cruanes
6c19918240 monad instance for CCFun 2014-06-26 15:01:34 +02:00
Simon Cruanes
64fedce1b0 updated description in _oasis 2014-06-26 13:46:46 +02:00
Simon Cruanes
8fbc500318 CCTrie, a compressed functorial persistent trie structure 2014-06-26 02:46:27 +02:00
Simon Cruanes
d30b36dce9 fix CCPrint.unit, add CCPrint.silent 2014-06-26 00:10:10 +02:00
Simon Cruanes
451e761c8e fix type mismatch 2014-06-25 23:34:43 +02:00
Simon Cruanes
8bd2706ed5 CCKTree, abstract tree structure with dot printing 2014-06-25 03:28:41 +02:00
Simon Cruanes
10a1a0643e minor updates (new functions in CCPrint and PrintBox) 2014-06-25 03:27:30 +02:00
Simon Cruanes
b01a302f07 updated readme 2014-06-25 01:36:45 +02:00
Simon Cruanes
9e2c8ec392 rename CCLeftistheap to CCHeap, for it is a simpler name 2014-06-25 01:36:32 +02:00
Simon Cruanes
cac3500177 updated CCLeftistheap with a brand new functorial interface,
with more conversion functions, etc.
2014-06-25 01:27:43 +02:00
Simon Cruanes
891725157e fix bug in CCFqueue 2014-06-25 01:27:17 +02:00
Simon Cruanes
2395ebb2ad make test will now run both oUnit and qtest 2014-06-25 01:26:53 +02:00
Simon Cruanes
a87a5b0315 CCFQueue is now a functional double-ended queue 2014-06-25 00:43:43 +02:00
Simon Cruanes
696d1f27cf update of FQueue with a richer, more consistent api 2014-06-24 22:46:34 +02:00
Simon Cruanes
1e2ac4c39b tests for bitvectors 2014-06-24 18:52:38 +02:00
Simon Cruanes
2b15a21570 refactored CCrandom (hide fuel, too complicated, but provide a fix operator);
bench_hash to compare hash combinators to the default hash function
2014-06-24 16:24:19 +02:00
Simon Cruanes
e5a842829e monadic combinators for lists and klists 2014-06-24 16:23:30 +02:00
Simon Cruanes
9da54f3e5a random generators in several modules, and CCRandom to bind them all with fuel 2014-06-24 14:06:48 +02:00
Simon Cruanes
6872591708 make a distinction between Hash.state and Hash.t (and private type is bad here) 2014-06-23 23:44:53 +02:00
Simon Cruanes
b56cdfa17a more hash functions 2014-06-23 23:40:10 +02:00