Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main :: IO ()
- main = scotty 3000 $ do
- get "/:a" $ echo =<< param "a"
- get "/:a/:b" $ echo =<< param "b
- echo :: Text -> ActionM ()
- echo = html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement