Commit graph

104 commits

Author SHA1 Message Date
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
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
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
5422a6ad65 fix tests 2014-06-15 23:50:28 +02:00
Simon Cruanes
e3bde40598 more operators in CCKlist 2014-06-14 01:01:40 +02:00
Simon Cruanes
730f99de70 fix benchmark broken by Drup;
fix some small issues;
add CCBatch.extern combinator for arbitrary computations (that wont be optimized)
2014-06-12 11:56:57 +02:00
Simon Cruanes
fc3b6040f6 benchmark for CCBatch on list, array, and klist 2014-06-11 23:27:37 +02:00
Simon Cruanes
b72f8683ce udpated tests 2014-05-22 23:58:36 +02:00
Simon Cruanes
113ea6d395 updated and fixed things in core/:
fixed warnings, updated Sequence/Gen with tests and more recent interface; added printers
2014-05-17 01:00:00 +02:00
Simon Cruanes
4bc6c8a008 split into package core (no pack, 'CC' prefix, stable)
and misc where oneshot ideas go
2014-05-16 20:58:28 +02:00
Simon Cruanes
e740f9ff63 quick tests 2014-04-19 01:27:34 +02:00
Simon Cruanes
49dd2f9054 qchecks for Levenshtein 2014-03-05 22:44:41 +01:00
Simon Cruanes
a2e0d85dca benchmark Conv.from (from json) 2014-03-02 16:06:33 +01:00
Simon Cruanes
3c4270b3a1 added a Conv.Point.t benchmark to bench_conv (recursive type) 2014-03-01 19:31:10 +01:00
Simon Cruanes
6718277501 moved futures into threads/ and updated oasis; added benchmark for Conv 2014-03-01 16:30:52 +01:00
Simon Cruanes
11259c9297 cli options for benchs 2014-02-01 15:33:28 +01:00
Simon Cruanes
2936595dbb bugfix in Gen; make API change explicit for Gen.merge 2014-01-30 01:49:01 +01:00
Simon Cruanes
48ef226efd use a new interface, unit -> 'a option, for Gen. 2014-01-30 01:41:51 +01:00
Simon Cruanes
396a1779bf merged BV tests in tests/test_bv.ml 2013-11-26 17:41:18 +01:00
Simon Cruanes
11611894e9 heavy modification of Gen's API. Now the default 'a Gen.t is a transient, consumable generator
of 'a, and 'a Gen.Restart.t can be used for restartable generators.
2013-11-11 23:04:10 +01:00
Simon Cruanes
38257ddc50 fair cartesian product for Gen 2013-11-11 20:29:02 +01:00
Simon Cruanes
e5e95bb97b in bench, compare Map to hashtables 2013-11-08 00:06:00 +01:00
Simon Cruanes
d7845e55c6 update of persistent hashtable 2013-11-05 15:50:41 +01:00
Simon Cruanes
c2931edb4e some more tests 2013-10-29 00:59:34 +01:00
Simon Cruanes
b202db7049 tests for PersistentHashtbl 2013-10-29 00:32:01 +01:00
Simon Cruanes
b9d38ff624 updated tests 2013-10-28 22:27:13 +01:00
Simon Cruanes
ba49d959be fixed test_bij, definitely 2013-10-06 23:14:11 +02:00
Simon Cruanes
9003d26a60 fixed test_bij 2013-10-05 12:24:55 +02:00
Simon Cruanes
e1064845a7 much simpler Bij module:removed the generic encoding/decoding
stuff, replaced by translation to/from Bencode;
switch now based on strings rather than chars to choose branch;
fix uses a lazy value rather than a function
2013-09-28 01:31:19 +02:00
Simon Cruanes
e7075ca060 imperative bitvector module 2013-09-24 15:06:30 +02:00
Simon Cruanes
a636c73f6d renamed Graph to PersistentGraph, not to collide with OCamlGraph 2013-06-13 15:17:52 +02:00
Simon Cruanes
b70c94377e fixed .odocl and minor stuff 2013-06-12 17:36:59 +02:00
Simon Cruanes
689908f9b9 Bencode module, for the eponym encoding format 2013-06-12 17:36:45 +02:00
Simon Cruanes
d9c8007548 Behavior is now based on Lwt rather than React, using futures.
Updated tests, doc, etc.
2013-06-05 11:06:16 +02:00
Simon Cruanes
59fb4a0d47 terser interface for Behavior (removed mk_ prefixes) 2013-05-31 12:01:37 +02:00
Simon Cruanes
7eaf28490e some tests for Behavior; also a new constructor 2013-05-31 11:56:01 +02:00
Simon Cruanes
79dbf5e843 some tests for PiCalculus 2013-05-20 21:44:17 +02:00
Simon Cruanes
9d1843ecf8 Bij.{guard,fix} helpers 2013-05-15 15:11:54 +02:00
Simon Cruanes
9774added9 small update of the makefile 2013-05-15 13:42:20 +02:00
Simon Cruanes
1fa268138e another test, using more Bij features 2013-05-15 12:29:45 +02:00
Simon Cruanes
5701df09ad more tests for Bij, using random structures 2013-05-15 12:22:19 +02:00
Simon Cruanes
98ce2aa394 removed the useless argument of Bij.BranchTo 2013-05-15 12:09:29 +02:00
Simon Cruanes
fb04d0e1c5 better, although more complicated, system for switch 2013-05-15 12:05:02 +02:00
Simon Cruanes
a570a34951 modules everywhere for sources, sinks, encoders, decoders...;
more primitives in Sink; direct access to eof/cur/junk in Source
2013-05-15 11:12:53 +02:00
Simon Cruanes
a41baa1174 Bij.decode starts to work;
more thorough tests (for big int lists)
2013-05-15 10:31:12 +02:00
Simon Cruanes
20097ddae3 Bij module, a try at the serialization problem using GADT 2013-05-14 18:32:23 +02:00
Simon Cruanes
6c1f7fb950 functional SplayTree as Maps 2013-04-24 00:32:04 +02:00
Simon Cruanes
d0bb88e365 minor update of Leftistheap 2013-04-24 00:31:47 +02:00