URL Shortener in 43 lines of Haskell

Written in Scotty. The code is not great.

I know this site is a bit of a disaster zone, but if you like my writing or think you could learn something useful from me, please take a look at the Haskell book I've been writing. There's a free sample available too!