Module

BoomBoom.Generic

Package
purescript-boomboom
Repository
paluh/purescript-boomboom

#VariantBoomBoom Source

class VariantBoomBoom irl ir tok builder | irl -> tok, irl -> builder where

ir - input record with BoomBooms as fields irl - input row list which "traverses" given record tok - serialization output (parsing input) - required to generate variant prefix builder - final BoomBoom builder

Members

Instances

#variant Source

variant :: forall tok r' rl r. RowToList r rl => VariantBoomBoom rl r tok (CoproductBuilder tok (Variant r') (Either (Variant r') tok) (Either (Variant ()) tok)) => (forall n. IsSymbol n => SProxy n -> BoomBoom tok Unit) -> Record r -> BoomBoom tok (Variant r')

#RecordBoomBoom Source

class RecordBoomBoom irl ir builder | irl -> builder where

ir - input record with BoomBooms as fields irl - input row list which "traverses" given record builder - final BoomBoom builder

Members

Instances

#record Source

record :: forall tok rl r p. RowToList r rl => RecordBoomBoom rl r (ProductBuilder tok (Record p) (Record ()) (Record p)) => Record r -> BoomBoom tok (Record p)