Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
normalizeAllSeps :: WindowsPath -> WindowsPathpath OsPath.Internal.Windows Replaces consecutive path seps with single sep and replaces alt sep with standard sep.
lookupAll :: Text -> Form -> [Text]http-api-data Web.FormUrlEncoded Find all values corresponding to a given key in a Form.
>>> lookupAll "name" [] [] >>> lookupAll "name" [("name", "Oleg")] ["Oleg"] >>> lookupAll "name" [("name", "Oleg"), ("name", "David")] ["Oleg","David"]parseAll :: FromHttpApiData v => Text -> Form -> Either Text [v]http-api-data Web.FormUrlEncoded Lookup all values for a given key in a Form and parse them with parseQueryParams.
>>> parseAll "age" [] :: Either Text [Word8] Right [] >>> parseAll "age" [("age", "8"), ("age", "seven")] :: Either Text [Word8] Left "could not parse: `seven' (input does not start with a digit)" >>> parseAll "age" [("age", "8"), ("age", "777")] :: Either Text [Word8] Left "out of bounds: `777' (should be between 0 and 255)" >>> parseAll "age" [("age", "12"), ("age", "25")] :: Either Text [Word8] Right [12,25]lookupAll :: Text -> Form -> [Text]http-api-data Web.Internal.FormUrlEncoded Find all values corresponding to a given key in a Form.
>>> lookupAll "name" [] [] >>> lookupAll "name" [("name", "Oleg")] ["Oleg"] >>> lookupAll "name" [("name", "Oleg"), ("name", "David")] ["Oleg","David"]parseAll :: FromHttpApiData v => Text -> Form -> Either Text [v]http-api-data Web.Internal.FormUrlEncoded Lookup all values for a given key in a Form and parse them with parseQueryParams.
>>> parseAll "age" [] :: Either Text [Word8] Right [] >>> parseAll "age" [("age", "8"), ("age", "seven")] :: Either Text [Word8] Left "could not parse: `seven' (input does not start with a digit)" >>> parseAll "age" [("age", "8"), ("age", "777")] :: Either Text [Word8] Left "out of bounds: `777' (should be between 0 and 255)" >>> parseAll "age" [("age", "12"), ("age", "25")] :: Either Text [Word8] Right [12,25]-
This module uses a trick to provide quantification over constraints.
type
Forall1 (p :: k -> Constraint) = Forall pconstraints Data.Constraint.Forall No documentation available.
class Forall ComposeC p f =>
ForallF (p :: k2 -> Constraint) (f :: k1 -> k2)constraints Data.Constraint.Forall A representation of the quantified constraint forall a. p (f a).
class Forall Q p t =>
ForallT (p :: k4 -> Constraint) (t :: k1 -> k2 -> k3 -> k4)constraints Data.Constraint.Forall A representation of the quantified constraint forall f a. p (t f a).
type family
ForallV :: k -> Constraintconstraints Data.Constraint.Forall A representation of the quantified constraint forall a1 a2 ... an . p a1 a2 ... an, supporting a variable number of parameters.