ltbs.uniform.common.web
A codec for a datatype to make it usable as a form field inside a uniform web interpreter. Technically this is a split epimorphism between Input => Either[ErrorTree,A] and A => Input.
Input => Either[ErrorTree,A]
A => Input
Produce a new FormFieldEncoding from this one by mapping the types
FormFieldEncoding
Produce a new FormFieldEncoding from this one, with the possibility of extending the validation
A codec for a datatype to make it usable as a form field inside a uniform web interpreter. Technically this is a split epimorphism between
Input => Either[ErrorTree,A]
andA => Input
.