Created
March 30, 2017 15:18
-
-
Save freakingawesome/cda49684646de778cda15b4306005759 to your computer and use it in GitHub Desktop.
so-43111085-repl-example.elm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> type Route = SettingsRoute (Maybe String) (Maybe String) | |
> parsePath (map SettingsRoute (s "blog" <?> stringParam "search" <?> stringParam "sortBy")) (Location "" "" "" "" "" "" "/blog" "?search=cats&sortBy=name" "" "" "") | |
Just (SettingsRoute (Just "cats") (Just "name")) : Maybe.Maybe Repl.Route |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment