Module

Fmt

Package
purescript-fmt
Repository
thought2/purescript-fmt

#fmt Source

fmt :: forall @sym sym' head tail replace. Parse DefaultConfig head tail replace => Append sym EOF sym' => Cons head tail sym' => replace -> String

#fmtWith Source

fmtWith :: forall @config @sym config' sym' head tail replace. Parse config' head tail replace => Append sym EOF sym' => Cons head tail sym' => EvalConfigSpec config config' => replace -> String

#Parse Source

class Parse :: Config -> Symbol -> Symbol -> Type -> Constraintclass Parse (config :: Config) (head :: Symbol) (tail :: Symbol) (replace :: Type)  where

Members

Instances

#ParseId Source

class ParseId :: Config -> Symbol -> Symbol -> Symbol -> Type -> Constraintclass ParseId (config :: Config) (head :: Symbol) (tail :: Symbol) (id :: Symbol) (replace :: Type)  where

Members

Instances

#ParseTypeId Source

class ParseTypeId :: Config -> Symbol -> Symbol -> Symbol -> Symbol -> Type -> Constraintclass ParseTypeId (config :: Config) (head :: Symbol) (tail :: Symbol) (id :: Symbol) (typeId :: Symbol) (replace :: Type)  where

Members

Instances

#ToString Source

class ToString :: Type -> Symbol -> Constraintclass ToString (a :: Type) (sym :: Symbol) | a -> sym where

Members

Instances

#ToStringBy Source

class ToStringBy :: Type -> Type -> Symbol -> Constraintclass ToStringBy (tok :: Type) (a :: Type) (sym :: Symbol) | tok a -> sym where

Members

Instances

#EOF Source

type EOF :: Symboltype EOF = "$"

Instances

Re-exports from Fmt.Config

#SetToString Source

data SetToString :: Type -> Config -> Configdata SetToString t0 t1

Instances

#SetOpenClose Source

data SetOpenClose :: Symbol -> Symbol -> Config -> Configdata SetOpenClose t0 t1 t2

Instances

#Config Source

data Config

Re-exports from Type.Function

#type (#) Source

Operator alias for Type.Function.FLIP (left-associative / precedence 1)

Modules
Fmt
Fmt.Config