Module

Polyform.Tokenized.Validator.Dual

Package
purescript-polyform
Repository
purescript-polyform/polyform

#Dual Source

type Dual m err = Dual (Validator m err) Identity

#DualD Source

type DualD m err = DualD (Validator m err) Identity

#liftUntokenized Source

liftUntokenized :: forall err i m o. Semigroup err => Monad m => err -> Dual m err i o -> Dual m err i o

#runValidator Source

runValidator :: forall err i o m. Monad m => Dual m err i o -> (List i -> m (V err o))

#runSerializer Source

runSerializer :: forall err i o m. Applicative m => Dual m err i o -> (o -> List i)

#end Source

end :: forall err i m. Monad m => Monoid err => (i -> err) -> Dual m err i Unit