Commit graph

2558 commits

Author SHA1 Message Date
Simon Cruanes
6ec499799c a few helpers + 1 example 2014-06-13 00:21:53 +02:00
Simon Cruanes
0d39bfdbf4 more optimizations, and a big chunk of query evaluation in CCLinq 2014-06-12 23:55:26 +02:00
Simon Cruanes
17930cf119 CCLinq: powerful interface for querying containers (work in progress) 2014-06-12 21:03:22 +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
8b2f5deb14 bugfix in CCArray 2014-06-12 11:56:13 +02:00
Simon Cruanes
2a27ebdf6d Merge pull request #4 from Drup/master
Change the representation of optimized list of operation and add folding.
2014-06-12 10:59:47 +02:00
Drup
7f3a33a78d Change the representation of optimized list of operation and add folding. 2014-06-12 02:58:43 +02:00
Simon Cruanes
fc3b6040f6 benchmark for CCBatch on list, array, and klist 2014-06-11 23:27:37 +02:00
Simon Cruanes
ee72934864 more operations on collections;
optimization level as a parameter in CCBatch
2014-06-11 23:27:21 +02:00
Simon Cruanes
80522a4959 expose the optimization to the user in CCBatch 2014-06-11 22:26:02 +02:00
Simon Cruanes
40f8955b34 updated CCBatch (more optimizations and type-safety,
enforcing some structural constraints with GADT)
2014-06-11 22:21:29 +02:00
Simon Cruanes
5567b12b79 CCBatch: batch operations on collections, with some fusion optimizations
to reduce the numbre of intermediate collections
2014-06-11 21:57:54 +02:00
Simon Cruanes
d7909200f6 operations on arrays (filter, filter_map, flat_map) 2014-06-11 21:54:20 +02:00
Simon Cruanes
bc40893166 CCList.filter 2014-06-11 21:54:01 +02:00
Simon Cruanes
021508968c updated test in parseReact; fixed a bug 2014-06-11 21:53:47 +02:00
Simon Cruanes
39f5e135bd crazy input-driven parser combinators 2014-06-11 00:47:53 +02:00
Simon Cruanes
9ca1f76bd7 more explicit type declaration 2014-06-09 18:10:53 +02:00
Simon Cruanes
b5fb3f0ff0 printing error in LazyGraph 2014-06-03 17:33:11 +02:00
Simon Cruanes
945325054f more functions for CCOpt 2014-06-03 17:03:34 +02:00
Simon Cruanes
fd88f10216 safe version of fold_right 2014-05-31 12:36:15 +02:00
Simon Cruanes
3127f046de remove ugly tabs 2014-05-27 13:25:15 +02:00
Simon Cruanes
9a10d477ee update the klist type in other modules 2014-05-26 22:01:21 +02:00
Simon Cruanes
ffcdfa8625 udpate the type of CCKlist 2014-05-26 21:26:45 +02:00
Simon Cruanes
8ba39cb32d update readme 2014-05-26 19:09:06 +02:00
Simon Cruanes
b661147c3c Merge pull request #3 from nbraud/avl
AVL: Change API (why not, it makes for a usable polymorphic map)
2014-05-25 13:13:42 +02:00
Nicolas Braud-Santoni
12beb90514 AVL: Change API not to carry around comparison functions 2014-05-23 10:38:15 +02:00
Nicolas Braud-Santoni
b2450a771b AVL: Minor edit
There was a let that was uselessly rec
2014-05-23 10:20:52 +02:00
Simon Cruanes
453a818ace merge from master 2014-05-23 00:44:40 +02:00
Simon Cruanes
bfc78e5671 build system stuff 2014-05-23 00:43:32 +02:00
Simon Cruanes
e2002e81ce oasis files 2014-05-23 00:43:07 +02:00
Simon Cruanes
55176dbbbe merge from master 2014-05-23 00:42:54 +02:00
Simon Cruanes
b919f0b0c1 build system stuff 2014-05-23 00:31:59 +02:00
Simon Cruanes
67ae41159f Merge branch 'master' into stable 2014-05-23 00:29:23 +02:00
Simon Cruanes
24d1a1c578 makefile 2014-05-23 00:29:13 +02:00
Simon Cruanes
3ae7c7ca0b CCString.equal,compare,hash 2014-05-23 00:14:39 +02:00
Simon Cruanes
8ad03fcc1d _oasis generated files 2014-05-23 00:01:07 +02:00
Simon Cruanes
1fd7b9fbe0 update of readme 2014-05-22 23:59:49 +02:00
Simon Cruanes
488e97b439 CCInt.hash 2014-05-22 23:58:58 +02:00
Simon Cruanes
b72f8683ce udpated tests 2014-05-22 23:58:36 +02:00
Simon Cruanes
6cc51a77c8 remove generated files 2014-05-21 00:20:12 +02:00
Simon Cruanes
26060f83ff CCArray 2014-05-21 00:19:24 +02:00
Simon Cruanes
aa89d7fcad CCKlist.range and flatten 2014-05-20 20:16:31 +02:00
Simon Cruanes
9bcc410c36 better CCKlist.flat_map 2014-05-20 20:10:09 +02:00
Simon Cruanes
29ff651f3b details 2014-05-20 19:52:17 +02:00
Simon Cruanes
c5b2373c03 additional functions for KList 2014-05-20 19:50:46 +02:00
Simon Cruanes
ab83ea4827 bool and int modules 2014-05-20 19:23:46 +02:00
Simon Cruanes
48839be132 CCFun.id and const 2014-05-20 17:43:56 +02:00
Simon Cruanes
d9ccb619a1 additional utils for pairs and functions 2014-05-20 17:38:54 +02:00
Simon Cruanes
a8dc42024b bugfix in CCList.take 2014-05-20 17:27:00 +02:00
Simon Cruanes
e61039152f more functions in CCList; CCHash and CCKlist added 2014-05-20 16:22:42 +02:00