package frama-c

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

Module Monad.Make_based_on_map

Extend a minimal monad based on map.

  • since 31.0-Gallium

Parameters

module M : Based_on_map

Signature

type 'a t = 'a M.t
val return : 'a -> 'a t
val flatten : 'a t t -> 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
val bind : ('a -> 'b t) -> 'a t -> 'b t
module Bool : sig ... end

monadic convenience functions around booleans

module Option : sig ... end

applying monadic functions to the option type

module List : sig ... end

applying monadic functions to lists

module Operators : sig ... end
OCaml

Innovation. Community. Security.