Commit graph

38 commits

Author SHA1 Message Date
Simon Cruanes
6ab811f79b
prepare for 3.14 2024-09-10 08:47:46 -04:00
Simon Cruanes
9f8c2efe64
add missing @since tags 2024-09-03 13:12:12 -04:00
Benjamin Bellick
c6cb572230 and_p -> and_pred, or_p -> or_pred 2024-09-03 11:59:43 -05:00
Ben Bellick
1dc046c6e9 fix formatting 2024-08-24 10:53:59 -05:00
Ben Bellick
df0e442956 predicate combinators: and_p and or_p 2024-08-24 10:26:01 -05:00
NoahBatchelor
e933995733
Kleisli Composition Operator and Apply_or Added (#455)
Added the Kleisli composition operator for Option, Result, and CCFun.
2024-07-19 14:03:52 -04:00
Nicola Mometto
71233f2c1a chore: add since NEXT_RELEASE 2024-04-11 14:58:56 +01:00
Nicola Mometto
6a70c57253 feat(CCFun): add (|||>) 2024-04-11 14:54:07 +01:00
Nicola Mometto
2a21181580 feat(CCFun): add (||>) 2024-04-11 14:51:55 +01:00
Simon Cruanes
492484a9a2
cleanup: remove stubs for code always present on 4.08 2023-07-10 11:55:43 -04:00
Simon Cruanes
1a23731730
remove conditional over OCaml >= 4.08
in particular, all the let-ops are now unconditional!
2023-06-24 15:22:21 -04:00
Simon Cruanes
161c192bff
prepare for 3.11 2023-02-07 12:39:35 -05:00
Simon Cruanes
735729c329
add CCFun.(let@) (if OCaml >= 4.08) 2023-02-07 12:23:27 -05:00
Simon Cruanes
10865eaced reformat 2022-07-04 13:36:06 -04:00
Simon Cruanes
7ae113b6dc
compat with merlin by using [@@@ifge 4.12] instead of [%IFGE 4.12] 2022-02-16 23:14:26 -05:00
Simon Cruanes
bc6c8947b1
start using preprocessor to remove some shim modules 2022-02-16 23:01:00 -05:00
Fardale
a5822f7273 doc: inline the doc of CCShim*_ module in the doc 2021-11-12 17:34:06 +01:00
Fardale
099f2e176f chore(doc): adapt module docstring for the index page 2021-11-11 14:40:35 +01:00
Kye W. Shi
6cfa7307de CCFun: include module type of Infix 2020-06-19 20:17:30 -05:00
Kye W. Shi
a03b6e68e3 CCFun: put infix operators in Infix module 2020-06-19 20:17:30 -05:00
JPR
a5b8a0aa18 Substitute 'Pervasives' with 'Stdlib' 2020-03-24 10:43:49 -04:00
JPR
76c1c98bbf Modifs comments 2020-03-16 15:56:12 -05:00
Christopher Zimmermann
5fcd1a506e add shim for backward-compatibility Fun module 2019-10-07 13:42:48 +02:00
Christopher Zimmermann
858af75ee8 Make use new Stdlib.Fun to extend / replace CCFun 2019-10-07 12:28:22 +02:00
Christopher Zimmermann
2d5f0e3e8d Document behaviour of Fun.finally when finaliser raises 2019-10-07 12:26:21 +02:00
Simon Cruanes
6e50ff41c6 prepare for 2.1 2018-03-28 20:26:17 -05:00
Etienne Millon
f1adbcf2f3 Add CCFun.iterate
This adds a new `CCFun.iterate` function that computes the nth-iterate
of a function. That is, that function composed with itself n times.
2018-02-14 15:39:08 +01:00
Simon Cruanes
ddf709fc5b reindent code 2018-02-01 19:01:32 -06:00
nathan moreau
00b2638ae7 Adding more comments 2018-01-30 14:07:05 +01:00
CHEN Xian-an
90e96e6339 fix CCFun.tap example in doc 2017-08-28 23:46:05 +08:00
Simon Cruanes
03fd42e67d reindentation 2017-01-25 00:08:12 +01:00
Simon Cruanes
228011d9aa prepare for 0.18 2016-06-14 14:12:02 +02:00
Simon Cruanes
3190278d86 add aliases to deprecated functions from String, add Fun.opaque_identity 2016-05-04 23:12:32 +02:00
Simon Cruanes
a2179d4355 prepare for 0.16 2016-02-24 22:08:26 +01:00
Simon Cruanes
34445bead0 replace headers in the rest of containers core 2016-02-20 23:24:24 +01:00
Simon Cruanes
7dbf3f983b add CCFun.finally{1,2}, convenience around finally 2016-01-25 16:38:36 +01:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01: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
Renamed from core/CCFun.mli (Browse further)