vow v0.0.1 Vow View Source
TODO
Link to this section Summary
Link to this section Types
Link to this type
key_opt()
View Sourcekey_opt() ::
{:required, [spec_ref_expr()]}
| {:optional, [spec_ref_expr()]}
| {:into, [] | %{}}
Link to this type
list_opt()
View Sourcelist_opt() ::
{:length, Range.t() | non_neg_integer()}
| {:min_length, non_neg_integer()}
| {:max_length, non_neg_integer()}
| {:distinct?, boolean()}
Link to this type
merged()
View Sourcemerged() :: Vow.Merge.t() | Vow.Map.t() | Vow.Keys.t() | map() | Vow.Alt.t() | Vow.OneOf.t() | Vow.Cat.t()
Link to this type
spec_ref_expr()
View Sourcespec_ref_expr() :: spec_ref() | {:and | :or, [spec_ref_expr(), ...]}
Link to this section Functions
Link to this function
conform(spec, value)
View Sourceconform(t(), value :: term()) :: {:ok, Vow.Conformable.conformed()} | {:error, Vow.ConformError.t()}
Link to this function
conform!(spec, value)
View Sourceconform!(t(), value :: term()) :: Vow.Conformable.conformed() | no_return()
Link to this function
explain(spec, value)
View Sourceexplain(t(), value :: term()) :: Vow.ConformError.t() | nil