simple haskell sources (coded at university)