package vif

  1. Overview
  2. Docs
A simple web framework for OCaml 5

Install

dune-project
 Dependency

Authors

Maintainers

Sources

vif-0.0.1.beta6.tbz
sha256=98c4b7959e5a2289179e26c4c378720f4c60b920bf5be2c1c1ba8bac82b4230b
sha512=20c155e32073ccee63996f8012d1dadfae6c0f7a8f838729566d36b426a26953be94ce0edf4e6a47007f1b9b0af45a028667258d7b14bbcbc282b099feae0f33

doc/vif.core/Vif_core/Device/index.html

Module Vif_core.DeviceSource

Sourcetype t = ..
Sourcemodule Device : sig ... end
Sourcemodule Hmap : sig ... end
Sourceval failwithf : ('a, Format.formatter, unit, 'b) format4 -> 'a
Sourcetype t +=
  1. | Devices : Hmap.t -> t
Sourceval empty : t
Sourcetype ('value, 'a) arg =
  1. | Value : 'a Hmap.key -> ('value, 'a) arg
  2. | Const : 'a -> ('value, 'a) arg
  3. | Map : ('value, 'fn, 'r) args * 'fn -> ('value, 'r) arg
Sourceand ('value, 'fn, 'r) args =
  1. | [] : ('value, 'value -> 'r, 'r) args
  2. | :: : ('value, 'a) arg * ('value, 'fn, 'r) args -> ('value, 'a -> 'fn, 'r) args
Sourceval arg : 'a 'v. t -> 'v -> ('v, 'a) arg -> t * 'a
Sourceval keval_args : 'f 'r 'v. t -> 'v -> (('v -> 'r) -> t -> 'r) -> ('v, 'f, 'r) args -> 'f -> 'r
Sourcetype ('v, 'r) device =
  1. | Device : ('v, 'f, 'r) args * 'f * 'r Hmap.key -> ('v, 'r) device
Sourceval const : 'a -> ('b, 'a) arg
Sourceval value : ('a, 'b) device -> ('c, 'b) arg
Sourceval map : ('a, 'b, 'c) args -> 'b -> ('a, 'c) arg
Sourceval v : 'v 'f 'r. name:string -> finally:('r -> unit) -> ('v, 'f, 'r) args -> 'f -> ('v, 'r) device
Sourceval run : 'v. Hmap.t -> 'v -> ('v, 'r) device -> Hmap.t