Closed akoppela closed 3 years ago
https://package.elm-lang.org/packages/elm/url/latest/Url-Parser-Query#map
Example is:
page : Parser Int page = map (Result.withDefault 1) (int "page")
According to signature for int function it should be
int
page : Parser Int page = map (Maybe.withDefault 1) (int "page")
Fixed by #13
Great work!
https://package.elm-lang.org/packages/elm/url/latest/Url-Parser-Query#map
Example is:
According to signature for
int
function it should be