Module Ojw_pervasives

module Ojw_pervasives : sig..end

Various utils.

val id : 'a -> 'a
val of_opt : 'a Js.Opt.t -> 'a

De-optize the value. May raise "of_opt"

val subs_suffix : string -> int -> string

Extract a suffix of a string.

val int_of_pxstring : Js.js_string Js.t -> int

Convert an int into "%i px".

val pxstring_of_int : int -> Js.js_string Js.t

Extract an int from a string of the form "%i px".

module Size : sig..end

Size functions for Dom elements.

module Option : sig..end

Manipulation on option values.

module List : sig..end