package vif

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

vif-0.0.1.beta4.tbz
sha256=0327abf4e7434e5de402661cc8c29c0539501269401670fed773b0dfc14e26aa
sha512=1ff5dddecf25b41986ea629bda336a990800db8410498682bf96af2b1afab74ae57172ee8d41087f131c9ceeb3255c96351668664e36c6815a249157afd05a5d

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