To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a t = 'a Core_kernel.Or_error.t Lwt.t
include Core_kernel.Monad with type 'a t := 'a t
t >>= f
returns a computation that sequences the computations represented by two monad elements. The resulting computation first does t
to yield a value v
, and then runs the computation returned by f v
.
module Monad_infix : sig ... end
val return : 'a -> 'a t
return v
returns the (trivial) computation that returns v.
ignore_m t
is map t ~f:(fun _ -> ())
. ignore_m
used to be called ignore
, but we decided that was a bad name, because it shadowed the widely used Pervasives.ignore
. Some monads still do let ignore = ignore_m
for historical reasons.
module Let_syntax : sig ... end
These are convenient to have in scope when programming with a monad:
val fail : Core_kernel.Error.t -> _ t
val of_exn : ?backtrace:[ `Get | `This of string ] -> exn -> _ t
val errorf : ('a, unit, string, _ t) Core_kernel.format4 -> 'a
val error : string -> 'a -> ('a -> Core_kernel.Sexp.t) -> _ t
val error_string : string -> _ t
val unimplemented : string -> _ t
val ok_unit : unit t
val ok_true : bool t
val ok_false : bool t
val ok_nil : 'a list t
module List :
Core_lwt_container_intf.Monad_sequence
with type 'a monad := 'a t
and type 'a t := 'a list
module Seq :
Core_lwt_container_intf.Monad_sequence
with type 'a monad := 'a t
and type 'a t := 'a Core_kernel.Sequence.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>