package osnap
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of Spec
'a gen
is used to generate random values inside spec
. QCheck combinators are available using Spec.Gen
.
type 'a encoding = 'a Data_encoding.t
'a encoding
is used to encode values in memory
'a spec
combines an 'a gen
and a printer
module Result : sig ... end
t
is the specification type, describing a function. Thus t
declaration must end with (^>>)
.
default_printer printer
creates a default printer if printer
is absent
build ?printer ?encoding gen
builds an 'a spec
with optional fields
val unit : unit spec
unit
specification
val bool : bool spec
bool
specification
val float : float spec
float
specification
val int : int spec
int
specification
val char : char spec
char
specification
val string : string spec
string
specification
(^>>) x res
combines a specification and printer for the result type
val can_encode : ('fn, 'r) t -> bool
can_encode spec
returns true if every spec in spec
can be encoded
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>