dillonkearns/elm-pages-v3-beta/8.0.0

NOTE: the latest version is 21.0.0

Rerouted (regenerated, verified). Same repository and tag, but GitHub now builds the zip with different bytes, so it no longer matches the SHA-1 package.elm-lang.org recorded. The Lamdera package server serves a copy recovered from https://github.com/dillonkearns/elm-pages-v3-beta.

What we checked: Tag 8.0.0 is still on github.com/dillonkearns/elm-pages-v3-beta; its commit b7735572454e is from 2023-01-17 05:49 UTC, before the version was published (2023-01-17 05:52 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip's SHA-1 is not the published one (GitHub's zip no longer comes out byte for byte the same), so the contents were checked instead.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/dillonkearns/elm-pages-v3-beta/zipball/8.0.0/

QueryParams

Represents the query portion of a URL. You can use toDict or toString to turn it into basic types, or you can parse it into a custom type using the other functions in this module.

Parsing

type Parser a
andThen : (a -> Parser b) -> Parser a -> Parser b
fail : String -> Parser a
fromResult : Result String a -> Parser a
optionalString : String -> Parser (Maybe String)
parse : Parser a -> QueryParams -> Result String a
string : String -> Parser String
strings : String -> Parser (List String)
succeed : a -> Parser a

Combining

map2 : (a -> b -> combined) -> Parser a -> Parser b -> Parser combined
oneOf : List (Parser a) -> Parser a

Accessing as Built-In Types

toDict : QueryParams -> Dict String (List String)
toString : QueryParams -> String