applebiz89 wrote: > main :: IO () > main = do > doFilmsInGivenYear films > main You pass as argument to 'doFilmsInGivenYear' the value 'films', which is not defined. Instead, I think you meant 'testDatabase'. All the best, -- Jochem Berndsen | jochem at functor.nl GPG: 0xE6FABFAB