module Make_verifiedFunctor for making constrained numbers from specifications. This functor enforces the invariant through a private type.(
Spec
:
Verified_spec
)
:S
with type repr = Spec.t
with type t = private Spec.t
Parameters: |
|
include Number.Spec
type
repr
val verify : repr -> t