Thomas Gazagnaire
0c7f4a5d08
Elements in an LRU cache should be unique
...
If it is not the case, the following code fails miserably:
let t = make 2
let () =
set t 1 1;
set t 1 1;
set t 2 2;
assert (get t 1 = 1)
because in that case the element returned by Hashtbl.find is *not* the
first bucket, which is the oldest one.
2015-02-04 01:17:23 +00:00
Simon Cruanes
ceca7b6343
fix CCFormat.seq combinator
2015-02-02 15:28:18 +01:00
Simon Cruanes
21c90a209d
wip: Lwt_klist, a functional stream for Lwt
2015-01-30 19:11:05 +01:00
Simon Cruanes
a1a8a8252c
@since tags
2015-01-29 00:42:42 +01:00
Simon Cruanes
5404d01814
add CCSet
2015-01-29 00:42:10 +01:00
Simon Cruanes
f40cdbe64f
add CCRef module
2015-01-29 00:35:34 +01:00
Simon Cruanes
dea635f8e3
version 0.8
2015-01-26 20:34:36 +01:00
Simon Cruanes
ae4c356874
updated doc and readme
2015-01-26 20:10:43 +01:00
Simon Cruanes
3ae7c59289
fix in opam file
2015-01-26 19:46:39 +01:00
Simon Cruanes
71200296b8
updated doc
2015-01-26 19:30:28 +01:00
Simon Cruanes
a5b78fd940
remove uses of |> in roseTree and its tests
2015-01-26 11:57:39 +01:00
Simon Cruanes
aa3c57e4a8
add @Emm to authors
2015-01-26 11:56:06 +01:00
Simon Cruanes
8f66f0d7d8
updated roseTree (cosmetic; printer; to_seq) and test
2015-01-26 11:55:59 +01:00
Simon Cruanes
b599e9941a
Merge pull request #35 from Emm/rose_tree
...
Add experimental rose tree (thanks to @Emm)
2015-01-26 11:47:51 +01:00
Emm
9cd3617a69
Use CCFormat.sprintf to display a tree.
2015-01-26 08:14:01 +01:00
Simon Cruanes
8b34fb9ef1
details
2015-01-26 00:11:42 +01:00
Emm
f9d061af9e
Indent rose tree records.
2015-01-25 23:36:23 +01:00
Simon Cruanes
186f4a93ce
use |> only with CCFun in tests
2015-01-25 23:19:20 +01:00
Simon Cruanes
bcdb1434e5
a few utils in CCFuture
2015-01-25 23:17:54 +01:00
Simon Cruanes
feec3bf46f
refactored heavily CCFuture (much simpler, cleaner, basic API and thread pool)
2015-01-25 23:08:31 +01:00
Simon Cruanes
4a66f1cdb7
add CCLock in containers.thread
2015-01-25 23:08:08 +01:00
Simon Cruanes
7954687fab
merged test_levenshtein with other tests
2015-01-25 23:07:40 +01:00
Emm
84af4f6f2e
Use pattern-matching instead of List.hd and List.tl.
2015-01-25 22:56:54 +01:00
Emm
1cdfa06c68
Add @since tag to rose tree documentation.
2015-01-25 22:51:11 +01:00
Emm
fdc6f28d55
Add experimental rose tree.
2015-01-25 22:06:48 +01:00
Simon Cruanes
f0b19b9980
remove a lot of stuff from containers.misc (see _oasis for details)
2015-01-25 20:07:29 +01:00
Simon Cruanes
a9aac3ea6f
remove ccbench.mli
2015-01-25 19:44:40 +01:00
Simon Cruanes
0ecec5c151
make devel command, activating most flags, for developpers (see #27 )
2015-01-21 09:40:35 +01:00
Simon Cruanes
4273ff5ca9
fix tests in oasis; enable more flags by default
2015-01-21 09:36:09 +01:00
Simon Cruanes
431fad317e
cosmetic detail in opam file
2015-01-21 09:35:56 +01:00
Simon Cruanes
9e290d3ff6
use benchmark 1.4, with the upstreamed tree system
2015-01-15 18:21:29 +01:00
Simon Cruanes
f2890c56a6
test ccvector.iteri
2015-01-08 15:36:50 +01:00
Simon Cruanes
3d9a7a0b74
add CCFormat into core/
2015-01-05 19:10:57 +01:00
Simon Cruanes
5e9c071947
Merge pull request #33 from struktured/master
...
infix map operators for CCArray
2015-01-01 23:49:59 +01:00
carm
83994f1f5e
infix map operators for CCArray
2015-01-01 17:43:27 -05:00
Simon Cruanes
b3a38657d1
Merge pull request #32 from struktured/master
...
fold_while implementation for CCList and CCArray (fixes #29 )
2015-01-01 20:41:50 +01:00
carm
397f60e6ac
fold_while impl for CCList and CCArray
2015-01-01 14:32:34 -05:00
Simon Cruanes
e1d25d6da7
Merge pull request #31 from vbmithr/bigstring
...
Added CCBigstring.length for more consistency with the CCString module.
2015-01-01 17:50:01 +01:00
Vincent Bernardoff
8a629ff8b1
Added CCBigstring.length for more consistency with the CCString module.
2015-01-01 17:47:28 +01:00
Simon Cruanes
0c7aa634a1
Merge pull request #30 from vbmithr/opam
...
Added name and dev fields in the OPAM file for local pinning (thansk to @vbmithr).
2015-01-01 17:31:13 +01:00
Vincent Bernardoff
e22bf7474b
Added name and dev fields in the OPAM file for local pinning.
2015-01-01 17:20:10 +01:00
Simon Cruanes
7d1433c47f
Merge pull request #28 from vbmithr/remove_safe
...
Added CCIO.remove_{exn,noerr} (thanks @vbmithr).
2014-12-29 19:40:59 +01:00
Vincent Bernardoff
4f7e301527
Added @since NEXT_RELEASE.
2014-12-29 19:26:49 +01:00
Vincent Bernardoff
4df8e2660c
Fix CCIO.remove* functions.
2014-12-29 17:11:23 +01:00
Vincent Bernardoff
4f7ea8de64
Added CCIO.remove_safe.
2014-12-27 17:53:04 +01:00
Simon Cruanes
bd84b620ec
Merge pull request #25 from vbmithr/hashtbl
...
CCHashtbl: renamed keys and values to iter_keys and iter_values, added k...
2014-12-22 17:57:57 +01:00
Simon Cruanes
dd5f774562
only build doc if all the required flags are enabled
2014-12-22 17:32:04 +01:00
Vincent Bernardoff
fe9a0e58e3
Added myself in the list of authors.
2014-12-22 17:27:13 +01:00
Vincent Bernardoff
86fdb22d5a
CCHashtbl: Added {keys,values}_list in the functor as well. Better doc.
2014-12-22 17:27:04 +01:00
Vincent Bernardoff
22e5b26b94
CCHashtbl: Added functions {keys,values}_list.
2014-12-22 16:40:40 +01:00