\documentclass[a4paper]{report}
\usepackage[left=2.5cm,right=2.5cm]{geometry}

\usepackage{listings}
\usepackage{tcolorbox}
\usepackage{minted}

\begin{document}
\begin{haskellcode}

{-# LANGUAGE QuasiQuotes           #-}
import Yesod

data HelloWorld = HelloWorld

mkYesod "HelloWorld" [parseRoutes|
/ HomeR GET
|]

instance Yesod HelloWorld

getHomeR :: Handler Html
getHomeR = defaultLayout [whamlet|Hello World!|]

main :: IO ()
main = warp 3000 HelloWorld
\end{haskellcode}
\end{document}