Commit graph

  • ae390d34f4 Add on_list. Drup 2014-08-08 20:37:54 +02:00
  • e5625c6930 merge from master: version 0.5.1 0.5.1 Simon Cruanes 2014-08-07 12:16:24 +02:00
  • 3458581ff2 Sequence.IO module, a very very simple way to read/write files Simon Cruanes 2014-08-07 12:06:59 +02:00
  • 185cf14f28 fix makefile.update_next_tag Simon Cruanes 2014-08-07 12:06:01 +02:00
  • c79fa08b52 options: to_opt/of_opt/head/head_exn Simon Cruanes 2014-07-17 18:06:51 +02:00
  • 0c474eec3b update readme Simon Cruanes 2014-07-09 10:24:54 +02:00
  • 78fefc2178 update doc Simon Cruanes 2014-07-09 10:22:49 +02:00
  • 2ae771f460 oasis files 0.5 Simon Cruanes 2014-07-07 18:18:16 +02:00
  • 69f2fd37ab Makefile target to push into stable Simon Cruanes 2014-07-07 18:19:21 +02:00
  • d5b9674124 version 0.5 Simon Cruanes 2014-07-07 18:13:36 +02:00
  • fea71526b0 of_list/to_list in Map/Set adapters Simon Cruanes 2014-07-07 18:12:25 +02:00
  • 4475d52b0f code cleaning; exception raised in of_in_channel upon second iteration Simon Cruanes 2014-07-07 18:11:59 +02:00
  • 77d74953fd sequence.concat_str Simon Cruanes 2014-07-07 17:34:12 +02:00
  • e0a95a3c31 cons, snoc, take_while, drop_while, doubleton Simon Cruanes 2014-07-07 17:12:49 +02:00
  • 75c87b0507 conversion with klist Simon Cruanes 2014-07-07 14:44:40 +02:00
  • abe4ba2aaf applicative and choice infix operators Simon Cruanes 2014-07-07 14:25:34 +02:00
  • 20f70e721f fix tests Simon Cruanes 2014-07-07 14:02:53 +02:00
  • ed5a602f4e add monadic operators and >|= Simon Cruanes 2014-07-07 13:57:20 +02:00
  • a40866e9ec add several functions: product2, find, mem; fix doc error on product Simon Cruanes 2014-07-01 16:00:09 +02:00
  • 54025273dd remove trailing whitespace Simon Cruanes 2014-07-01 15:54:15 +02:00
  • 632a820b1d aliases to existing functions Simon Cruanes 2014-07-01 15:54:00 +02:00
  • bebc312b85 use delimcc in a new module, SequenceInvert, in order to reverse the control flow (here with conversion to Gen) Simon Cruanes 2014-06-10 01:53:22 +02:00
  • 5d73e99652 make example compilable again Simon Cruanes 2014-05-26 14:49:50 +02:00
  • df75fa136a prepare release 0.4.1 Simon Cruanes 2014-05-20 23:55:30 +02:00
  • 8288cb38e2 Merge 671103e654 into dcbee64684 Drup 2014-05-20 21:22:21 +00:00
  • 671103e654 whitespaces Drup 2014-05-20 23:01:19 +02:00
  • e4691be2a5 Add an argument to Sequence.persistent to choose initial chunk size. Drup 2014-05-20 23:00:17 +02:00
  • dcbee64684 put benchmark compilation into oasis Simon Cruanes 2014-05-20 22:22:06 +02:00
  • e1cbfedeab Merge pull request #3 from Drup/master Simon Cruanes 2014-05-20 22:18:58 +02:00
  • 301c2609be Get rid of the for loop Drup 2014-05-20 22:14:23 +02:00
  • 5f0bdbfa4e Merge pull request #2 from Drup/master Simon Cruanes 2014-05-20 22:10:34 +02:00
  • a646cdc934 Add a reading bench for persistent sequences. Drup 2014-05-20 22:00:49 +02:00
  • 1e00463cfd removed deprecated Bench and replace it with Benchmark Simon Cruanes 2014-05-20 21:56:02 +02:00
  • 7860dbbb95 changelog Simon Cruanes 2014-05-19 15:12:52 +02:00
  • 3d61de614e apparently drup doesn't like polymorphic variants Simon Cruanes 2014-05-19 14:58:11 +02:00
  • 6ff605ac04 Sequence.persistent_lazy added, for caching without upfront cost Simon Cruanes 2014-05-19 14:51:12 +02:00
  • 7464ba2488 add bin_annot Simon Cruanes 2014-04-24 01:11:39 +02:00
  • 281032c61f conversion with Gen 0.4 Simon Cruanes 2014-04-16 17:57:11 +02:00
  • 93b6a18c41 cleanup of Infix (removed some operators); remove TypeClass Simon Cruanes 2014-04-16 17:56:54 +02:00
  • 2d380a48ca change the interface of min/max so that they return an option in case the sequence is empty Simon Cruanes 2014-04-16 17:39:32 +02:00
  • 7d5d7a497f use oasis Simon Cruanes 2014-04-13 21:54:42 +02:00
  • a5385ce649 API change for Sequence.persistent: no need to provide a block size, the unrolled list manages it (doubling block size); new implementation for persistent is more efficient. Simon Cruanes 2014-02-27 11:51:57 +01:00
  • a3ff8ee854 added a benchmark for persistent; moved all benchs to bench/ Simon Cruanes 2014-02-27 11:06:07 +01:00
  • b1e5176177 printing functions 0.3.7 Simon Cruanes 2013-11-18 15:17:22 +01:00
  • 61a4f64e75 decreasing int range operator Simon Cruanes 2013-11-18 15:10:07 +01:00
  • b54714957a document to_list Simon Cruanes 2013-10-21 13:35:11 +02:00
  • 78487de758 Merge pull request #1 from Drup/master 0.3.6.1 Simon Cruanes 2013-10-21 01:00:31 -07:00
  • 5a9dfc7939 Build and install sequence.cmxs Drup 2013-10-21 02:56:58 +02:00
  • 85b063737f allow to specify the blocksize in persistent Simon Cruanes 2013-10-20 22:02:19 +02:00
  • d0bedb7a76 documentation Simon Cruanes 2013-10-20 21:56:57 +02:00
  • 0e16d544d5 replace array functions by loops Simon Cruanes 2013-10-20 21:17:09 +02:00
  • cd1cbc50be fixed makefile target push_file Simon Cruanes 2013-10-20 21:16:57 +02:00
  • 855428b2e9 more doc Simon Cruanes 2013-10-20 21:05:26 +02:00
  • e807c693bb fixed makefile after merge 0.3.6 Simon Cruanes 2013-10-17 14:56:09 +02:00
  • bf475c1064 Merge branch 'master' of github.com:c-cube/sequence Simon Cruanes 2013-10-17 14:54:05 +02:00
  • 7e0deeb1cc do not use {} of shell... Simon Cruanes 2013-10-17 14:51:48 +02:00
  • 40cc85061e generation of sequence.install file Simon Cruanes 2013-10-17 14:22:35 +02:00
  • e2a2f530ed generation of sequence.install file Simon Cruanes 2013-10-17 14:22:35 +02:00
  • 2b74a6aafb generate man pages in man/ Simon Cruanes 2013-10-17 13:43:13 +02:00
  • 049fe898ce bugfix in Sequence.take Simon Cruanes 2013-10-03 21:54:51 +02:00
  • ad23803a4a .ocamlinit file Simon Cruanes 2013-08-28 15:02:06 +02:00
  • 12c0c5a6f5 fmap function Simon Cruanes 2013-08-28 15:01:09 +02:00
  • 4f06874e39 more natural functors to adapt Set and Map Simon Cruanes 2013-08-28 14:57:28 +02:00
  • 1a6129fc36 push documentation to private server Simon Cruanes 2013-05-28 14:02:55 +02:00
  • dcd5b2fa44 fix typo in readme Simon Cruanes 2013-05-27 15:00:46 +02:00
  • fa18a7ba83 better pp_seq 0.3.5 Simon Cruanes 2013-05-26 22:35:54 +02:00
  • b946b7157b optimized MList, with twice as fast insertion (on big tests); see ./simple_bench.native 10_000_000. The optimization is based on increasing block size. Simon Cruanes 2013-03-11 00:54:28 +01:00
  • b45371d06d update of API Simon Cruanes 2013-03-11 00:28:07 +01:00
  • 0115102c2a revert implementation of MList (new one is slower) Simon Cruanes 2013-03-10 19:02:30 +01:00
  • b0428e3f05 re-implementation of the internal MList storage, with a kind of 2-3 B-tree Simon Cruanes 2013-03-10 16:48:48 +01:00
  • bd472ba2e0 small error in comment Simon Cruanes 2013-03-10 15:41:21 +01:00
  • 7eb4fb370b Sequence.join combinator Simon Cruanes 2013-03-10 15:36:26 +01:00
  • 91a167a885 small API updates; Sequence.intersperse has a signature that is consistent with the rest of the API, and combines well with |> Simon Cruanes 2013-03-10 15:26:50 +01:00
  • f1c101310c update header of sequence.mli to explain some assumptions about sequences. Simon Cruanes 2013-03-10 15:17:27 +01:00
  • e23e1f8da1 added alias 'flatten' for 'concat' Simon Cruanes 2013-03-08 18:09:22 +01:00
  • 9829fc01bc some basic benchmarks Simon Cruanes 2013-03-08 17:25:06 +01:00
  • cb113e5174 a few more tests Simon Cruanes 2013-03-08 16:59:02 +01:00
  • 2790ea06ed some tests for Sequence Simon Cruanes 2013-03-08 16:47:29 +01:00
  • ec8a865500 basic building blocks for testing Simon Cruanes 2013-03-08 16:18:52 +01:00
  • 6443648f56 moved example stuff in examples/ Simon Cruanes 2013-03-08 16:18:30 +01:00
  • 9b6acc00ae a bugfix in Sequence.product; changed default block size of MList Simon Cruanes 2013-03-08 16:05:34 +01:00
  • 0dd50ca9a7 version 0.3.4 0.3.4 Simon Cruanes 2013-03-08 15:31:41 +01:00
  • 2aef4afa6a sort, uniq, group and sort_uniq combinators implemented Simon Cruanes 2013-03-08 15:11:26 +01:00
  • 43f4f25ed7 some conversion functions that use Sequence.t2 Simon Cruanes 2013-03-07 19:52:04 +01:00
  • ba3564c2bb infix operators in Sequence.Infix Simon Cruanes 2013-03-07 19:48:22 +01:00
  • b109e99c00 Sequence.t2 type for efficient iteration on pairs of elements; some combinators are adapted to Sequence.t2; zip, unzip and zip_i to convert between t and t2 Simon Cruanes 2013-03-07 19:39:34 +01:00
  • b308a8ae87 added scan combinator Simon Cruanes 2013-03-07 19:30:57 +01:00
  • b2c3de33a5 gitignore Simon Cruanes 2013-03-07 19:14:16 +01:00
  • c6c9c7d344 remove useless opam/ dir Simon Cruanes 2013-03-07 19:13:55 +01:00
  • 836049b6f1 Sequence.to_stream implemented (O(n) memory and time) 0.3.3 Simon Cruanes 2013-03-01 15:56:35 +01:00
  • d7ce7eb30e .merlin config file Simon Cruanes 2013-03-01 15:56:11 +01:00
  • 8f9722b139 updated readme Simon Cruanes 2013-02-27 22:02:33 +01:00
  • f9242452f2 fixed link... Simon Cruanes 2013-02-27 21:58:10 +01:00
  • 55a113dabc added API and link to the API Simon Cruanes 2013-02-27 21:56:42 +01:00
  • 570f558d01 Create gh-pages branch via GitHub Simon Cruanes 2013-02-27 12:21:59 -08:00
  • 907c3be9cc added a benchmark file to compare with ExtLib.Enum.t (not compiled by default, to avoid depending on extlib) Simon Cruanes 2013-02-27 21:19:14 +01:00
  • 942023cdd7 bugfix in Sequence.MList.iter_rev Simon Cruanes 2013-02-27 21:10:09 +01:00
  • 2ba0cfe2f4 added some typeclasses in a submodule Simon Cruanes 2013-02-27 17:52:29 +01:00
  • 213def7aab no need to reverse the MList to reverse a sequence Simon Cruanes 2013-02-25 10:35:14 +01:00
  • df7ef45ad5 added Sequence.persistent function (copy sequence in memory); implementation is done by unrolled linked list (also used for Sequence.rev and Sequence.to_array); should be quite efficient in time and memory Simon Cruanes 2013-02-25 02:18:40 +01:00