[Haskell-cafe] Main function error

Jochem Berndsen jochem at functor.nl
Tue May 12 17:39:56 EDT 2009


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


More information about the Haskell-Cafe mailing list