Commit graph

2869 commits

Author SHA1 Message Date
Simon Cruanes
61ab1ab2cd updated PersistentHashtbl 2013-10-28 11:20:13 +01:00
Simon Cruanes
f25d3bf7b5 gitignore 2013-10-28 11:04:39 +01:00
Simon Cruanes
dd3320f4e8 update sequence 2013-10-20 22:03:10 +02:00
Simon Cruanes
7765e7599b updated _oasis and .gitignore 2013-10-20 19:54:58 +02:00
Simon Cruanes
25ea9bc8e4 specify a socket file in ToWeb 2013-10-18 23:52:22 +02:00
Simon Cruanes
a860e67443 rewrote the HTTP encoding, and missing functions 2013-10-18 23:29:47 +02:00
Simon Cruanes
7313a258b4 use oasis to build files, splitted into libraries, including
a Container module that packs everything;
ToWeb module (depends on CamlGI) to expoert values on the web
2013-10-18 22:27:43 +02:00
Simon Cruanes
9dc91cec65 Show: printing combinators 2013-10-11 22:22:23 +02:00
Simon Cruanes
fe86ffcbb8 Bencode: sequence bencode <-> sequence string;
BencodeOnDisk: ability to write a list of values in one atomic operation
2013-10-09 19:01:19 +02:00
Simon Cruanes
204cb0dacb BencodeOnDisk module, to write Bencode values in a file in an
append-only, concurrent manner
2013-10-09 18:40:45 +02:00
Simon Cruanes
0465040c7f implemented LazyGraph.from_enum, and added from_list (simple interface);
LazyGraph.find_cycle can be used on cyclic graphs
2013-10-07 16:00:22 +02:00
Simon Cruanes
ba49d959be fixed test_bij, definitely 2013-10-06 23:14:11 +02:00
Simon Cruanes
e4bc1277a8 by default, use a constant random seed
so that qcheck tests are repeatable
2013-10-05 13:09:31 +02:00
Simon Cruanes
9003d26a60 fixed test_bij 2013-10-05 12:24:55 +02:00
Simon Cruanes
3aae03b3dd QCheck: nicer output (with time and number of failures and unicode);
also, infix operator for arbitrary ints
2013-10-04 23:50:53 +02:00
Simon Cruanes
3e46b3193d improvements in QCheck (monadic bind) 2013-10-04 15:19:47 +02:00
Simon Cruanes
3f9a33e1d0 updated doc 2013-10-04 14:50:39 +02:00
Simon Cruanes
4c46f9a697 updated QCheck, adding test/suite types, more Arbitrary, PP and Prop functions 2013-10-04 14:45:48 +02:00
Simon Cruanes
b3c76eb897 bugfix in Sequence.take 2013-10-03 21:53:56 +02:00
Simon Cruanes
0f972ba6a2 reverse collatz graph; also export Heap 2013-10-03 21:53:45 +02:00
Simon Cruanes
d828eca3f6 updated LazyGraph to use Sequence rather than Gen (simpler) 2013-10-03 21:21:34 +02:00
Simon Cruanes
7fa9ddfbcf fixed obsolete comment 2013-10-03 20:41:06 +02:00
Simon Cruanes
5405db1e52 better doc 2013-09-30 22:24:57 +02:00
Simon Cruanes
94f823fa4a documentation for Bij 2013-09-30 09:25:18 +02:00
Simon Cruanes
7e9b0e101b doc for QCheck 2013-09-30 08:59:49 +02:00
Simon Cruanes
77233c3750 doc 2013-09-29 18:38:51 +02:00
Simon Cruanes
a2df859a36 put back helpers in Bij that were removed by mistake 2013-09-29 17:22:07 +02:00
Simon Cruanes
1bbdc943b4 more examples in QCheck;
changed the interface of QCheck.Arbitrary.fix so that it
can use several instances of itself (build trees)
2013-09-28 16:22:32 +02:00
Simon Cruanes
dd4bb3746e a tiny bit of documentation 2013-09-28 12:49:09 +02:00
Simon Cruanes
b4f3925a45 QCheck easier to use, with printing combinators module
and simpler ('a -> bool) properties
2013-09-28 12:43:38 +02:00
Simon Cruanes
ead09ae349 quickcheck-like property testing 2013-09-28 12:15:38 +02:00
Simon Cruanes
5e0052af14 Bij.TrBencode with more functions;
Bencode.parse_resume function to resume parsing of buffer
2013-09-28 10:40:25 +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
ec066c5386 bugfixes in Gen.of_array 2013-09-26 15:29:30 +02:00
Simon Cruanes
939e0b96d0 bugfixes in BV (off by one...) 2013-09-24 17:22:03 +02:00
Simon Cruanes
a16a2b5d2c more recent bitvectors 2013-09-24 17:08:57 +02:00
Simon Cruanes
e7075ca060 imperative bitvector module 2013-09-24 15:06:30 +02:00
Simon Cruanes
6d7472a84c ultimate monadic CLI argument parser!! 2013-09-10 12:36:10 +02:00
Simon Cruanes
3abea459cb more functions in MultiMap 2013-09-10 10:21:42 +02:00
Simon Cruanes
1a6e4fe8ad MultiMap functor 2013-09-10 10:11:37 +02:00
Simon Cruanes
bca08783e1 updated csm 2013-09-01 21:37:31 +02:00
Simon Cruanes
53b08fa542 header file for license 2013-09-01 21:20:36 +02:00
Simon Cruanes
456a46bc93 composable state machines 2013-09-01 19:38:35 +02:00
Simon Cruanes
b0f70fbd4e more paranoid decoder, with bugfix 2013-08-29 23:23:41 +02:00
Simon Cruanes
197f7eb786 more functions in B-encode, to compute the size of an
expression in bytes, and write it into an already-existing string
2013-08-29 14:30:42 +02:00
Simon Cruanes
7e82adf973 more doc 2013-08-29 14:11:04 +02:00
Simon Cruanes
37be810bbf updated version of Sequence 2013-08-28 15:03:05 +02:00
Simon Cruanes
2c3af875b9 new container, AbsSet, that presents an abstract view of sets
and relational operators
2013-08-20 23:33:14 +02:00
Simon Cruanes
32a59b7982 added filter to leftistheap 2013-08-20 12:15:35 +02:00
Simon Cruanes
1d39fd1d5b update of readme and build files 2013-08-20 11:31:30 +02:00