Simon Cruanes
|
d76d3b95e3
|
add CCOrd.Infix
|
2017-01-24 22:19:59 +01:00 |
|
orbitz
|
13888edb4d
|
Add is_ok and is_error, simple predicates for testing a result. This is useful for tests or asserts
|
2017-01-17 20:09:26 +01:00 |
|
Simon Cruanes
|
3f80e794ba
|
add CCFormat.tee
|
2017-01-11 18:40:07 +01:00 |
|
Simon Cruanes
|
ed38c25711
|
replace or_ by default in labelled functions
|
2016-12-29 11:45:55 +01:00 |
|
Simon Cruanes
|
601354305d
|
breaking: remove trailing _ in CCOrd primitives
|
2016-12-29 11:43:48 +01:00 |
|
Simon Cruanes
|
f0aecf3b8e
|
add doc for of_list in relevant modules (close #85)
|
2016-12-29 11:39:21 +01:00 |
|
Simon Cruanes
|
9b53e3c2a5
|
use Labels versions of CCList and CCArray
|
2016-12-29 11:07:44 +01:00 |
|
Simon Cruanes
|
ef07decbac
|
Revert "add Array.append" (already in stdlib Array)
This reverts commit cdb4ba5dbc.
|
2016-12-12 14:18:05 +01:00 |
|
Simon Cruanes
|
cdb4ba5dbc
|
add Array.append
|
2016-12-07 16:20:13 +01:00 |
|
Simon Cruanes
|
d1e33cd135
|
document errors in CCIO (close #86)
|
2016-11-30 20:52:18 +01:00 |
|
Simon Cruanes
|
a8babbd941
|
add labels to CCList
|
2016-11-11 00:52:44 +01:00 |
|
Simon Cruanes
|
b1837e7d05
|
add labels in CCArray
|
2016-11-11 00:39:58 +01:00 |
|
Simon Cruanes
|
f29329fb03
|
deal properly with broken symlinks and permission errors
|
2016-11-11 00:18:16 +01:00 |
|
Simon Cruanes
|
a231bfb9c4
|
fix containers.ml
|
2016-11-03 22:21:22 +01:00 |
|
Simon Cruanes
|
192f315f53
|
simplify CCHash
- remove functor
- use `Hashtbl.seeded_hash` to combine values
|
2016-11-03 22:18:23 +01:00 |
|
Simon Cruanes
|
2c00983262
|
split CCList.Zipper into its own module, CCZipper in containers.data
|
2016-11-03 22:06:41 +01:00 |
|
Simon Cruanes
|
6ff6c51687
|
change argument ordering in CCList.Assoc
|
2016-11-03 22:03:13 +01:00 |
|
Simon Cruanes
|
ad1513e36c
|
remove CCList.Idx, rename its functions to toplevel
|
2016-11-03 21:57:24 +01:00 |
|
Simon Cruanes
|
bf609e7f04
|
remove CCList.Set, move functions to toplevel and rename them
|
2016-11-03 21:45:15 +01:00 |
|
Simon Cruanes
|
4f6bce60e5
|
split CCArray.Sub into CCArray_slice
|
2016-11-03 21:24:21 +01:00 |
|
Simon Cruanes
|
bd7a9ce070
|
add CCString.edit_distance
|
2016-11-03 20:27:26 +01:00 |
|
Simon Cruanes
|
72d43c6eeb
|
add CCParse into core, a simple, lightweight version of parser combs
|
2016-11-03 20:10:18 +01:00 |
|
Simon Cruanes
|
46cee7096c
|
expose CCString.Find for efficient sub-string searching
|
2016-11-03 18:48:25 +01:00 |
|
Simon Cruanes
|
83b0744a1b
|
more type safety in String.Find
|
2016-11-03 18:39:03 +01:00 |
|
Simon Cruanes
|
5288713b76
|
remove poly-variant based errors, use result everywhere
|
2016-11-03 18:33:34 +01:00 |
|
Simon Cruanes
|
13b283a91d
|
remove buffer printers, rename pretty-printers to pp
|
2016-11-03 18:24:11 +01:00 |
|
Simon Cruanes
|
d4d7bc1de2
|
add CCFormat.Dump.{result,to_string}
|
2016-11-03 18:11:05 +01:00 |
|
Simon Cruanes
|
c89186a100
|
remove CCPrint (also, update tests relying on it)
|
2016-11-03 17:57:41 +01:00 |
|
Simon Cruanes
|
c7b815509d
|
prepare for 0.21
|
2016-11-03 16:04:12 +01:00 |
|
Simon Cruanes
|
af4c3fc195
|
change boxing in CCFormat.Dump; add example/doc
|
2016-11-03 15:57:03 +01:00 |
|
Simon Cruanes
|
9045fcca0b
|
add CCFormat.{with_color_sf,fprintf_dyn_color,sprintf_dyn_color}
more dynamic way of adding colors, switching colors on/off, etc.
|
2016-11-03 15:48:21 +01:00 |
|
Simon Cruanes
|
0d9d17d5db
|
add CCFormat.Dump for easy debugging (see #82)
|
2016-11-03 15:36:25 +01:00 |
|
Simon Cruanes
|
4ff174ce18
|
(breaking) make default start/stop arguments empty in printers (#82)
|
2016-11-03 15:19:50 +01:00 |
|
Simon Cruanes
|
3e7cbc1420
|
add alias Containers.IO
|
2016-11-02 08:22:03 +01:00 |
|
Simon Cruanes
|
18b32f8313
|
bugfixes in CCArray.Sub
|
2016-11-01 12:17:01 +01:00 |
|
Simon Cruanes
|
61ff75dca0
|
bugfix + tests for CCArray.Sub.sub
|
2016-11-01 11:46:14 +01:00 |
|
Simon Cruanes
|
b7db149e27
|
add CCArray.Sub.to_list
|
2016-11-01 11:27:07 +01:00 |
|
Simon Cruanes
|
7ba8f58571
|
fix typo
|
2016-10-19 23:59:23 +02:00 |
|
Simon Cruanes
|
2a872907a1
|
add CCArray.{sorted,sort_indices,sort_ranking} (closes #81)
|
2016-10-19 18:18:05 +02:00 |
|
Simon Cruanes
|
bc7967054f
|
prepare for 0.20
|
2016-10-14 11:33:53 +02:00 |
|
Simon Cruanes
|
81ca239ccc
|
bugfix in CCArray.equal
|
2016-10-14 11:28:44 +02:00 |
|
Simon Cruanes
|
59a463a882
|
small fix + test
|
2016-10-14 11:24:57 +02:00 |
|
Simon Cruanes
|
fed7dd41e0
|
add functions in CCArray: fold2,iter2,map2
|
2016-10-13 10:04:58 +02:00 |
|
Simon Cruanes
|
53030c4c29
|
more general types for CCArray.{for_all2,exists2}
|
2016-10-13 10:04:23 +02:00 |
|
Simon Cruanes
|
a99720945b
|
add CCArray.rev
|
2016-10-13 10:01:21 +02:00 |
|
Roma Sokolov
|
d4d22b1488
|
Fixes map_or
~default arg for `map_or`, as well as function, should not depend on the type of error case.
|
2016-10-04 14:27:34 +03:00 |
|
Simon Cruanes
|
d7e8cb24fd
|
add CCFloat.round
|
2016-09-25 19:43:21 +02:00 |
|
Simon Cruanes
|
103963dc45
|
style
|
2016-09-25 19:39:02 +02:00 |
|
Simon Cruanes
|
e4c6752b6b
|
add CCVector.append_gen
|
2016-09-25 19:38:03 +02:00 |
|
Simon Cruanes
|
3e50420ce8
|
add CCList.{head_opt,last_opt}
|
2016-09-25 19:34:05 +02:00 |
|