This challenge is related to the Haskell language. Note that challenges that require the answers to be in a specific language are generally discouraged.

If you're new to golfing in Haskell, we recommend reading the user guide for golfing in Haskell. For submitting your answers you can use Haskell @ TryItOnline.net.

If you need help with golfing in Haskell,