Commit graph

1507 commits

Author SHA1 Message Date
Simon Cruanes
4f6bce60e5 split CCArray.Sub into CCArray_slice 2016-11-03 21:24:21 +01:00
Simon Cruanes
610990e945 fix behavior of CCSexp
- allow "\123" escape codes
- allow "\b" escape codes
2016-11-03 20:45:47 +01:00
Simon Cruanes
c3e6e798e6 remove containers.string 2016-11-03 20:42:47 +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
8f7b29c3bd remove CCParse and CCKMP (will be replaced in core) 2016-11-03 19:08:00 +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
7628e654f7 remove containers.advanced 2016-11-03 18:29:23 +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
af6b1dd6e0 change type of CCUnix.escape_str 2016-11-03 17:56:05 +01:00
Simon Cruanes
e9c20b9b21 .merlin 2016-11-03 17:55:57 +01:00
Simon Cruanes
941d74968e remove CCSexpM, use ocamllex for a much simpler CCSexp 2016-11-03 17:44:35 +01:00
Simon Cruanes
f26b47ea5f update ocamlinit 2016-11-03 17:25:36 +01:00
Simon Cruanes
9f0b8851b0 remove containers.io 2016-11-03 16:29:14 +01:00
Simon Cruanes
bfa5a20f07 remove containers.bigarray 2016-11-03 16:28:21 +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
269d4a7ba9 handle '\r` in CCSexpM (fixes #83) 2016-11-03 09:48:50 +01:00
Simon Cruanes
89c63a5357 update oasis setup 2016-11-02 11:49:09 +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
73bb61a2de disable parallel build to support cygwin 2016-10-26 18:21:39 +02: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
Simon Cruanes
f0381ae0d9 update authors 2016-10-04 13:35:46 +02:00
Simon Cruanes
6cd4e6923c Merge pull request #79 from little-arhat/patch-1
fix `CCResult.map_or` type signature (thanks to @little-arhat)
2016-10-04 13:34:31 +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
Simon Cruanes
7a823b16d8 fix CCString.*_ascii; add CCChar.{upper,lower}case_ascii 2016-09-18 20:31:53 +02:00
Simon Cruanes
b249adf86f add CCInt.{print_binary,to_string_binary} + tests (thanks @gsg) 2016-09-18 10:37:05 +02:00
Simon Cruanes
8cd06599ae update readme 2016-08-22 10:21:19 +02:00
Simon Cruanes
656565c195 add gh-pages doc generation to makefile 2016-08-22 10:15:37 +02:00
Simon Cruanes
913cfcacea prepare for 0.19 2016-08-22 09:58:09 +02:00