Module

Payload.Internal.QueryParsing

Package
purescript-payload
Repository
hoodunit/purescript-payload

#asSegments Source

asSegments :: forall urlStr urlParts. ParseQuery urlStr urlParts => ToSegments urlParts => Proxy urlStr -> List Segment

#ToSegments Source

class ToSegments (urlParts :: QueryList)  where

Members

Instances

#QueryListProxy Source

data QueryListProxy (f :: QueryList)

Constructors

#QueryList Source

#QueryParseFail Source

data QueryParseFail :: QueryList

Instances

#QueryNil Source

data QueryNil :: QueryList

Instances

#QueryCons Source

data QueryCons :: QueryPart -> QueryList -> QueryList

Instances

#ParseQuery Source

class ParseQuery (string :: Symbol) (parts :: QueryList) | string -> parts

Instances

#Match Source

class Match (url :: Symbol) (head :: Symbol) (tail :: Symbol) (acc :: Symbol) (acc2 :: Symbol) (mode :: Symbol) (out :: QueryList) | head tail acc mode -> out

Instances

#QueryPart Source

#Key Source

data Key :: Symbol -> Symbol -> QueryPart

Instances

#Multi Source

data Multi :: Symbol -> QueryPart

Instances

#ParseError Source

class ParseError (path :: Symbol) (remaining :: Symbol) (msg :: Symbol) (doc :: Doc) | path remaining msg -> doc

Instances