>>> take 10 $ repeat 17 [17,17,17,17,17,17,17,17,17, 17]
>>> repeat undefined [*** Exception: Prelude.undefined
>>> singleton True [True]
>>> singleton [1, 2, 3] [[1,2,3]]
>>> singleton 'c' "c"
>>> repeat 17 [17,17,17,17,17,17,17,17,17...
>>> singleton True [True]
>>> take 20 $ repeat 17 [17,17,17,17,17,17,17,17,17...
main = simpleHTTP nullConf $ ok "Everything is OK"
main = simpleHTTP nullConf $ noContent "This will be ignored."
main = simpleHTTP nullConf $ internalServerError "Sorry, there was an internal server error."
main = simpleHTTP nullConf $ badGateway "Bad Gateway."
main = simpleHTTP nullConf $ badRequest "Bad Request."
main = simpleHTTP nullConf $ unauthorized "You are not authorized."
main = simpleHTTP nullConf $ forbidden "Sorry, it is forbidden."
main = simpleHTTP nullConf $ notFound "What you are looking for has not been found."
main = simpleHTTP nullConf $ requestEntityTooLarge "That's too big for me to handle."
>>> pure 1 :: Maybe Int Just 1
>>> pure 'z' :: [Char] "z"
>>> pure (pure ":D") :: Maybe [String] Just [":D"]