Commit graph

1322 commits

Author SHA1 Message Date
Simon Cruanes
1cf81c0031 add CCString.Split.{left,right}_exn 2016-02-21 18:33:44 +01:00
Simon Cruanes
41536c6dd6 fix test 2016-02-21 18:33:33 +01:00
Simon Cruanes
b0b768b60a add CCIO.File.{read,write,append} for quickly handling files 2016-02-20 23:36:48 +01:00
Simon Cruanes
d2fbd8dd77 add CCRandom.pick_{list,array} 2016-02-20 23:29:44 +01:00
Simon Cruanes
34445bead0 replace headers in the rest of containers core 2016-02-20 23:24:24 +01:00
Simon Cruanes
1993eabd21 breaking: change the API of CCMixmap
- make it easier to use |> with CCMixmap
- add test and example
2016-02-19 19:58:21 +01:00
Simon Cruanes
52f585d27b headers 2016-02-19 19:44:39 +01:00
Simon Cruanes
526ea35495 add CCFormat.sprintf_no_color 2016-02-19 16:34:01 +01:00
Simon Cruanes
12ca402025 provide "bold" style 2016-02-19 14:10:29 +01:00
Simon Cruanes
b8beed4587 add CCList.Assoc.update 2016-02-18 15:49:53 +01:00
Simon Cruanes
dcfbff7827 add CCList.Assoc.mem 2016-02-18 15:40:40 +01:00
Simon Cruanes
12fe3fdde3 deprecation incoming for CCHashtbl.{Counter,Default} tables 2016-02-18 12:28:19 +01:00
Simon Cruanes
708a92d027 add {CCMap,CCHashtbl}.get_or for lookup with default value 2016-02-18 12:21:21 +01:00
Simon Cruanes
db67b19fe8 update some headers, formatting 2016-02-18 12:18:19 +01:00
Simon Cruanes
9e94f002e4 breaking: make type CCHash.state abstract 2016-01-29 15:57:00 +01:00
Simon Cruanes
1b73c54b07 deprecate CCLinq in favor of standalone OLinq 2016-01-29 10:08:42 +01:00
Simon Cruanes
663a3cd693 introduce a min_size in CCPool, to keep threads alive
- in benchs, keep `min_size=0` for resource management (need to spawn
  lots of threads)
2016-01-26 02:14:35 +01:00
Simon Cruanes
f95825a2e5 more benchs 2016-01-26 01:45:14 +01:00
Simon Cruanes
a3e4ab5cc9 add benchs for CCPool 2016-01-26 01:33:38 +01:00
Simon Cruanes
b0c59e036b add appliative instance in CCPool, factor code 2016-01-26 01:33:24 +01:00
Simon Cruanes
067e89b1fe add CCLock.{decr_then_get, get_then_{decr,set,clear}}
atomic updates for integers and bools
2016-01-26 01:04:43 +01:00
Simon Cruanes
ec70f865e4 rename CCFuture into CCPool, expose the thread pool 2016-01-26 01:04:43 +01:00
Simon Cruanes
6b03a28cba split CCTimer out of CCFuture, a standalone 1-thread timer 2016-01-26 01:04:43 +01:00
Simon Cruanes
9097cb11ab move CCThread.Queue into CCBlockingQueue
- fix the module
- fix benchs
2016-01-26 01:04:33 +01:00
Simon Cruanes
02a9639d02 add CCResult, with dependency on result for retrocompat 2016-01-25 21:20:06 +01:00
Simon Cruanes
e2848675f7 add CCFormat.{with_color, with_colorf} 2016-01-25 19:37:43 +01:00
Simon Cruanes
7d8369ab83 small refactor 2016-01-25 18:29:06 +01:00
Simon Cruanes
f53b19545c udpate implem of CCFuture 2016-01-25 17:40:27 +01:00
Simon Cruanes
40c38a5dab add CCThread.spawn{1,2} 2016-01-25 17:16:58 +01:00
Simon Cruanes
32fad92be8 small fix 2016-01-25 16:43:45 +01:00
Simon Cruanes
7f42c94df7 add many helpers in CCUnix (for sockets, files, and processes) 2016-01-25 16:39:13 +01:00
Simon Cruanes
7dbf3f983b add CCFun.finally{1,2}, convenience around finally 2016-01-25 16:38:36 +01:00
Simon Cruanes
49991717c1 add CCLock.update_map 2016-01-25 15:13:12 +01:00
Simon Cruanes
483f90cb52 small fixes in CCSemaphore 2016-01-25 14:26:30 +01:00
Simon Cruanes
d3464563c1 add CCLock.{incr_then_get,get_then_incr} 2016-01-25 14:22:50 +01:00
Simon Cruanes
3cfe3767fc add breaking space in CCFormat.{pair,triple,quad} 2016-01-20 14:19:47 +01:00
Simon Cruanes
b000355a74 update examples/id_sexp so it can read on stdin 2016-01-18 12:07:04 +01:00
Simon Cruanes
cf931aabb1 add CCList.fold_map2 2016-01-05 16:53:33 +01:00
Simon Cruanes
03a29d72cb optional argument ~eq to CCGraph.Dot.pp 2015-12-31 16:18:33 +01:00
Simon Cruanes
4409f79ed4 gitignore 2015-12-31 16:18:30 +01:00
Simon Cruanes
03604cb836 add tests; change header 2015-12-29 17:19:43 +01:00
Simon Cruanes
5d6098b80d make CCFormat color handling support nested tags properly 2015-12-22 16:09:40 +01:00
Simon Cruanes
0ce50f9c73 fix typo in howto 2015-12-22 16:09:32 +01:00
Simon Cruanes
d569cf59bb prepare for 0.15 2015-12-22 10:34:14 +01:00
Simon Cruanes
bd6769dcaa doc 2015-12-22 10:27:01 +01:00
Simon Cruanes
07382c02dd remove deprecated CCSexpStream module 2015-12-22 10:26:56 +01:00
Simon Cruanes
7e86889f1e remove deprecated CCFloat.sign 2015-12-22 10:22:30 +01:00
Simon Cruanes
112dd7da1b doc 2015-12-22 10:21:27 +01:00
Simon Cruanes
90a611fdfd use tags for color handling in CCFormat 2015-12-22 10:20:39 +01:00
Simon Cruanes
c58d31ed98 doc 2015-12-15 16:49:32 +01:00