Module

Record.Prefix

#PrefixProps

data PrefixProps :: Symbol -> Typedata PrefixProps sym

Instances

#add

add :: forall rin rout pre. HFoldlWithIndex (PrefixProps pre) (Builder (Record ()) (Record ())) (Record rin) (Builder (Record ()) (Record rout)) => SProxy pre -> Record rin -> Record rout

Adds a common prefix to a Record's labels.

#UnPrefixProps

data UnPrefixProps :: Symbol -> Typedata UnPrefixProps sym

Instances

#remove

remove :: forall rin rout pre. HFoldlWithIndex (UnPrefixProps pre) (Builder (Record ()) (Record ())) (Record rin) (Builder (Record ()) (Record rout)) => SProxy pre -> Record rin -> Record rout

Removes a common prefix from a Record's labels.

Modules