Module Note.E.Option

module Option: sig .. end
Option events

val on_some : 'a option Note.event -> 'a Note.event
on_some e is e when Some _ occurs:

Lifted Stdlib.Option module


val some : 'a Note.event -> 'a option Note.event
some e is map (fun v -> Some v) e.
val value : 'a option Note.event -> default:'a Note.signal -> 'a Note.event
value e default is default when e occurs with None:
val get : 'a option Note.event -> 'a Note.event
get e is map get e.
val bind : 'a option Note.event -> ('a -> 'b option) -> 'b option Note.event
bind e f is map (fun v -> Option.bind v f) e.
val join : 'a option option Note.event -> 'a option Note.event
join e is map Option.join e.
val map : ('a -> 'b) -> 'a option Note.event -> 'b option Note.event
map f e is map Option.map e.
val is_none : 'a option Note.event -> bool Note.event
is_none e is map is_none e.
val is_some : 'a option Note.event -> bool Note.event
is_some e is map is_some e.