package netsnmp

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

Source file io_intf.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
module type S = sig
  type 'a t

  val wrap   : ('a -> 'b) -> 'a -> 'b t
  val wrap_mt : ('a -> 'b) -> 'a -> 'b t

  val bind   : 'a t -> f:('a -> 'b t) -> 'b t
  val map    : 'a t -> f:('a -> 'b) -> 'b t
  val return : 'a -> 'a t
  val (>>=)  : 'a t -> ('a -> 'b t) -> 'b t
  val (>>|)  : 'a t -> ('a -> 'b) -> 'b t
  val gc_finalise : ('a -> unit t) -> 'a -> unit
end

OCaml

Innovation. Community. Security.