playing with haskell, a pdfkit wrapper