Module
Polyform.Dual.Variant
- Package
- purescript-polyform
- Repository
- paluh/purescript-polyform
#on Source
on :: forall r' r p l i a. IsSymbol l => Cons l a r r' => Alt (p i) => (forall s a'. IsSymbol s => SProxy s -> Dual p i a' -> Dual p i a') -> SProxy l -> Dual p i a -> Dual p i (Variant r) -> Dual p i (Variant r')
prefix
can be used to encode tagging of a given option.
Please take a look at Polyform.Duals.Json.on
example
from polyform-validators
.
- Modules
- Polyform.
Dual - Polyform.
Dual. Generic - Polyform.
Dual. Generic. Sum - Polyform.
Dual. Generic. Variant - Polyform.
Dual. Record - Polyform.
Dual. Variant - Polyform.
Duals. Validator - Polyform.
Duals. Validator. Generic - Polyform.
Duals. Validator. Pure - Polyform.
Exceptor - Polyform.
Parser - Polyform.
StarExceptT - Polyform.
Validator - Polyform.
Validator. Par - Polyform.
Validator. Pure - Polyform.
Validator. Record