Module
Record.Format
- Package
- purescript-record-format
- Repository
- kcsongor/purescript-record-format
#Var Source
data Var :: Symbol -> FmtInstances
(IsSymbol key, Cons key typ tail row, FormatParsed ks row, FormatVar typ) => FormatParsed (FCons (Var key) ks) row(Cons h' t' t, ParseVar h' t' (Var match) rest, Parse rest pRest) => ParseLit "{" t (FCons (Lit "") (FCons (Var match) pRest))ParseVar "" a (Var "") ""ParseVar "}" i (Var "") iParseVar curr "" (Var curr) ""(Cons h' t' t, ParseVar h' t' (Var var) rest, Cons h var var') => ParseVar h t (Var var') rest
#Lit Source
data Lit :: Symbol -> FmtInstances
(IsSymbol l, FormatParsed ks row) => FormatParsed (FCons (Lit l) ks) rowParseLit o "" (FCons (Lit o) FNil)(Cons h' t' t, ParseVar h' t' (Var match) rest, Parse rest pRest) => ParseLit "{" t (FCons (Lit "") (FCons (Var match) pRest))(Parse i (FCons (Lit l) fs), Cons c l cl) => ParseLit c i (FCons (Lit cl) fs)
#FCons Source
data FCons :: Fmt -> FList -> FListInstances
(IsSymbol key, Cons key typ tail row, FormatParsed ks row, FormatVar typ) => FormatParsed (FCons (Var key) ks) row(IsSymbol l, FormatParsed ks row) => FormatParsed (FCons (Lit l) ks) rowParseLit o "" (FCons (Lit o) FNil)(Cons h' t' t, ParseVar h' t' (Var match) rest, Parse rest pRest) => ParseLit "{" t (FCons (Lit "") (FCons (Var match) pRest))(Parse i (FCons (Lit l) fs), Cons c l cl) => ParseLit c i (FCons (Lit cl) fs)
#FormatParsed Source
class FormatParsed (strings :: FList) (row :: Row Type) whereFormat a row with a list of format tokens. If @row@ doesn't contain
Members
formatParsed :: FProxy strings -> Record row -> String
Instances
FormatParsed FNil row(IsSymbol key, Cons key typ tail row, FormatParsed ks row, FormatVar typ) => FormatParsed (FCons (Var key) ks) row(IsSymbol l, FormatParsed ks row) => FormatParsed (FCons (Lit l) ks) row
#ParseLit Source
- Modules
- Record.
Format