This looks like a job for nested modules. Best regards, Marcin Mrotek -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160522/6bc5ea3c/attachment.html>