Fardale
302dba6cb5
chore(CCOption): rename CCOpt to CCOption and deprecate CCOpt
...
In the stdlib the module associated with the option type is called
Option and in containers it was called CCOpt. Renaming CCOpt to CCOption
make the name of containers module uniforme with respect to the stdlib.
2021-09-22 23:07:05 +02:00
Simon Cruanes
25660ee2c1
add CCOpt.{some,none}
...
close #382
2021-06-19 18:43:17 -04:00
Simon Cruanes
c99f7818c3
udpate doc and add test
2021-04-27 13:21:34 -04:00
Daniil Baturin
3628feed9c
Add CCOpt.get_exn_or and deprecate CCOpt.get_exn
2021-04-27 13:15:51 -04:00
Fardale
8c3d716ab1
break: rename fonction from *std_seq* to *seq*
2020-07-23 16:32:52 +02:00
Simon Cruanes
18222af1a3
perf: a few more inline annotations
2020-05-12 12:46:12 -04:00
Simon Cruanes
a767e4618d
wip(3.0): remove deprecated functions, in particular sequence
2020-04-24 20:16:53 -04:00
Fardale
4bc01a0b82
feat(opt): fix bind arguments order
2020-01-06 21:39:55 +01:00
Fardale
bf8db5dcff
feat(opt): add bind
2020-01-06 16:15:52 +01:00
Simon Cruanes
b2d9e69042
feat: put the let operators inside the Infix modules when relevant
2019-12-14 12:08:48 -06:00
Simon Cruanes
bf0227d404
feat: on 4.08, support let operators
...
close #276
2019-12-14 12:08:48 -06:00
Simon Cruanes
1b5b23a8f1
remove unlabel, remove all traces of Result
2019-12-10 20:48:38 -06:00
Simon Cruanes
7d1862a501
wip: add to_std_seq
...
see #254
2019-11-20 17:50:40 -06:00
Simon Cruanes
78ef007b77
deprecate CCOpt.to_seq, provide to_iter instead
2019-11-20 17:50:22 -06:00
Simon Cruanes
bd4e4d311d
add CCOpt.value to improve compat with Stdlib.Option
2019-11-20 17:49:49 -06:00
Simon Cruanes
3712db3a5b
chore: use iter, not sequence, in tests
2019-04-13 03:20:56 -05:00
Etienne Millon
b27acb9bd2
Add CCOpt.return_if
2018-04-25 20:16:23 -05:00
Etienne Millon
bbda79bbcc
Add CCOpt.flatten
2018-04-24 17:03:45 -05:00
Simon Cruanes
7e8c7235bc
use result package for retrocompat
2017-03-26 00:36:45 +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
6df16975ca
fix bug in CCOpt.filter ( close #100 )
2017-03-03 14:15:38 +01:00
Simon Cruanes
5713183a3a
remove dead code
2017-03-03 14:15:38 +01:00
Simon Cruanes
03fd42e67d
reindentation
2017-01-25 00:08:12 +01:00
Simon Cruanes
13b283a91d
remove buffer printers, rename pretty-printers to pp
2016-11-03 18:24:11 +01:00
Simon Cruanes
cfad88e906
add CCOpt.get_or with label, deprecates get
2016-06-14 13:58:37 +02:00
Simon Cruanes
07d11c4104
add CCOpt.if_
2016-04-19 11:49:12 +02:00
Simon Cruanes
dba88f5302
add CCOpt.{for_all, exists}
2016-04-18 13:19:26 +02:00
Simon Cruanes
903dac110b
add {CCList,CCOpt}.Infix modules
2016-02-24 20:38:22 +01:00
Simon Cruanes
5cdf59f30c
add CCOpt.map_or, deprecating CCopt.maybe
2016-02-24 20:37:56 +01:00
Simon Cruanes
34445bead0
replace headers in the rest of containers core
2016-02-20 23:24:24 +01:00
Fourchaux
44387de784
Correction typos (fichiers src)
2015-11-08 22:27:59 +01:00
Simon Cruanes
783c9cf808
add CCOpt.choice_seq
2015-09-02 22:12:31 +02:00
Simon Cruanes
3d7035e84f
add CCOpt.print
2015-09-02 21:05:17 +02:00
Simon Cruanes
7e5161f94f
add CCOpt.is_none
2015-05-24 21:38:37 +02:00
Simon Cruanes
61465fa19a
remove cgi/; move sub-libraries to their own subdir each; mv everything into src/
2014-12-16 23:41:59 +01:00