package ocsigenserver

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

Module Ocsigen_lib_base.ClistSource

Circular lists

Sourcetype 'a t
Sourcetype 'a node
Sourceval make : 'a -> 'a node
Sourceval create : unit -> 'a t
Sourceval insert : 'a t -> 'a node -> unit
Sourceval remove : 'a node -> unit
Sourceval value : 'a node -> 'a
Sourceval in_list : 'a node -> bool
Sourceval is_empty : 'a t -> bool
Sourceval iter : ('a -> unit) -> 'a t -> unit

Infinite iteration on circular lists

Sourceval fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a

Infinite fold on circular lists (use with care!)

OCaml

Innovation. Community. Security.