exchema v0.4.0 Exchema.Type behaviour
This is the contract of a type module.
To implement your own type you should just implement
the ___type__/1
callback which receives a tuple with
your type arguments. If you have a concrete type,
then it should match on receiving an empty tuple {}
.
Link to this section Summary
Functions
Resolves a type reference into it’s definition
Link to this section Types
Link to this section Functions
Resolves a type reference into it’s definition