Module Async_extended__Mailbox.Filter

type ('a, 'b) t = {
name : string;
select : 'a ‑> 'b option;
}
val create : string ‑> ('a ‑> 'b option) ‑> ('a'bt
val arr : ('a ‑> 'b) ‑> ('a'bt

an always matching filter from a function

val (&&&) : ('a'bt ‑> ('a'ct ‑> ('a'b * 'ct

Compose two filters such that both are applied to the same value, and their corresponding results are paired in a tuple. This filter will fail if any of the two argument filters fails.

val (>>>) : ('a'bt ‑> ('b'ct ‑> ('a'ct

Compose two filters *

val to_predicate : ('a'bt ‑> 'a ‑> bool