Commit graph

1654 commits

Author SHA1 Message Date
Simon Cruanes
75e3962ba1 make many modules extensions of stdlib (close #109)
for : Random Array List ArrayLabels ListLabels Char String
2017-05-01 16:54:23 +02:00
Simon Cruanes
0c4bf82c5c Merge pull request #123 from copy/master
Implement `CCInt.floor_div` and `CCInt.rem` (close #122)
2017-04-28 22:27:43 +02:00
Fabian
0408466bd9 More tests for floor_div and rem 2017-04-28 15:22:32 -05:00
Fabian
883eb611f0 Implement CCInt.floor_div and CCInt.rem 2017-04-28 14:40:15 -05:00
Simon Cruanes
43bccceac7 add test and bugfix for CCBV 2017-04-27 22:33:58 +02:00
Simon Cruanes
81ed6139ca add CCList.take_drop_while (close #120) 2017-04-24 20:20:37 +02:00
Simon Cruanes
8d01cf3cc2 missing fun 2017-04-19 22:45:41 +02:00
Simon Cruanes
9aa5d08f96 more doc (close #118) 2017-04-19 22:40:04 +02:00
Simon Cruanes
77ed135493 add a comment about contributing (close #106); update makefile 2017-04-19 22:31:18 +02:00
Simon Cruanes
57d460ecde style 2017-04-19 22:28:02 +02:00
Simon Cruanes
02f1d5c4a0 Merge pull request #117 from rleonid/add_negate
change `CCBV` to track size, with some breaking changes (thank to @rleonid)
2017-04-19 22:25:07 +02:00
Simon Cruanes
71ad95044f missing function 2017-04-19 22:09:46 +02:00
Simon Cruanes
93568949e6 annotations in CCEqual, for optimization 2017-04-19 22:08:56 +02:00
Leonid Rozenberg
84a537efbd Add test for diff 2017-04-19 15:27:35 -04:00
Leonid Rozenberg
0b53ed01a3 Merge and bug fix pass 2017-04-19 14:52:13 -04:00
Leonid Rozenberg
cbff4e5a39 Merge branch 'master' into add_negate 2017-04-19 12:30:35 -04:00
Leonid Rozenberg
2b148f0055 Add self to authors 2017-04-19 12:29:23 -04:00
Leonid Rozenberg
f90f73f671 Incorporate reviewier feedback.
Also added style elements from PR#116.
2017-04-19 12:26:47 -04:00
Simon Cruanes
8460b01f2f fix hair-raising english mistake 2017-04-19 17:36:53 +02:00
Leonid Rozenberg
d8a55a98b9 Size tracking implementation 2017-04-19 02:15:09 -04:00
Simon Cruanes
6c8de1bc64 small fix 2017-04-18 22:04:37 +02:00
Simon Cruanes
fcd987f1c0 fix test 2017-04-18 21:47:32 +02:00
Simon Cruanes
0c7280a8f4 remove test that depends on 4.02 2017-04-18 21:46:38 +02:00
Simon Cruanes
1b200ff695 add CCstring.equal_caseless (close #112) 2017-04-18 21:41:44 +02:00
Simon Cruanes
c725543faa add alias CCString.split (close #115) 2017-04-18 21:23:18 +02:00
Simon Cruanes
9cca745fcf add CCFormat.text (close #111) 2017-04-18 21:19:50 +02:00
Simon Cruanes
fc6682b1c1 add CCFormat.{newline,substring} 2017-04-18 21:19:37 +02:00
Simon Cruanes
f294ce1634 add CCList.combine_gen (close #110) 2017-04-18 20:58:38 +02:00
Simon Cruanes
990b7b7b81 style 2017-04-18 20:55:03 +02:00
Simon Cruanes
6d728d5ce7 add a small test 2017-04-18 14:05:55 +02:00
Simon Cruanes
7e9f87ecba Merge pull request #114 from LemonBoy/tr-combine
Add a tail-recursive implementation of `List.combine` (thanks to @LemonBoy)
2017-04-18 14:01:06 +02:00
LemonBoy
404fede54a Add a tail-recursive implementation of List.combine
Closes #108.
2017-04-18 12:03:46 +02:00
Leonid Rozenberg
b70a8d875e One is _a_ megalomaniac 2017-04-17 19:00:39 -04:00
Simon Cruanes
af6cd08ff4 fix too restrictive type in CCResult 2017-04-13 15:23:22 +02:00
Simon Cruanes
c7b1afca82 missing alias 2017-04-10 10:31:54 +02:00
Simon Cruanes
08bc15dd8c add module CCEqual 2017-04-09 15:11:44 +02:00
Simon Cruanes
02b2a21e33 add CCResult.fold_ok (closes #107) 2017-04-05 10:43:37 +02:00
Simon Cruanes
ee69bdcab8 add CCFormat.with_color_ksf for colored printing 2017-04-03 15:32:26 +02:00
Simon Cruanes
e0287b9efe add CCInt.range{,',by} for iterating on integer ranges 2017-03-29 17:40:54 +02:00
Simon Cruanes
47abc78a51 add CCString.Sub.get 2017-03-29 17:40:54 +02:00
Simon Cruanes
670d2dbd4b build unix support by default 2017-03-29 17:40:54 +02:00
Simon Cruanes
f27f7757de add CCResult.add_ctx{,f} for replacing stack traces 2017-03-27 22:06:37 +02:00
Simon Cruanes
e6221d7e50 add test 2017-03-27 21:05:37 +02:00
Simon Cruanes
7e8c7235bc use result package for retrocompat 2017-03-26 00:36:45 +01:00
Simon Cruanes
e9de0a8902 Merge pull request #105 from glennsl/master
Plugs some holes in `CCOpt` (add `or_`, `_lazy` versions, and `{to,of}_result`)
2017-03-26 00:33:36 +01:00
glennsl
6573a2dd4a Add map_lazy, or_, or_lazy, to_result, to_result_lazy and of_result to CCOpt 2017-03-26 00:29:32 +01:00
Simon Cruanes
923e83b0fc make tests faster 2017-03-16 10:27:00 +01:00
Simon Cruanes
b5be1d71a9 bugfix and test for CCZipper.is_focused (closes #102) 2017-03-14 22:45:11 +01:00
Simon Cruanes
97abfe600e use boxes in CCFormat.Dump for tuples 2017-03-14 11:16:11 +01:00
Simon Cruanes
ef651342eb add CCString.split_on_char 2017-03-10 21:33:40 +01:00