package xapi-stdext-pervasives

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Xapi_stdext_pervasives.PervasiveextSource

Sourceval finally : (unit -> 'a) -> (unit -> unit) -> 'a

finally f g returns f () guaranteeing to run clean-up actions g () even if f () throws an exception.

Sourceval maybe_with_default : 'b -> ('a -> 'b) -> 'a option -> 'b
Sourceval may : ('a -> 'b) -> 'a option -> 'b option
Sourceval default : 'a -> 'a option -> 'a
Sourceval maybe : ('a -> unit) -> 'a option -> unit
Sourceval reraise_if : bool -> (unit -> unit) -> unit
Sourceval ignore_exn : (unit -> unit) -> unit
Sourceval ignore_int : int -> unit
Sourceval ignore_int32 : int32 -> unit
Sourceval ignore_int64 : int64 -> unit
Sourceval ignore_string : string -> unit
Sourceval ignore_float : float -> unit
Sourceval ignore_bool : bool -> unit
Sourceval (++) : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'c
Sourceval ($) : ('a -> 'b) -> 'a -> 'b