bogue

GUI library for ocaml, with animations, based on SDL2
Library bogue
Module Bogue . Var
Dependency graph
type 'a t
val create : 'a -> 'a t

create v returns a Var with initial value v.

val get : 'a t -> 'a
val set : 'a t -> 'a -> unit

set v value waits until no thread is accessing the Var v and then sets its value to value.