I have compiled each function independently and they have compiled the only
problem is the main function..
I keep getting the error 'films not defined' and I am not sure why
[code]
type Title = String
type Director = String
type Year = Int
type Fan = String
data Film = Film Title Director
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 | joc...@functor.nl
GPG: 0xE6FABFAB
What would you expect the program to output? You probably mean
'testDatabase' instead of 'films'.
/jve
On Tue, May 12, 2009 at 12:59 PM, applebiz89 applebi...@hotmail.com wrote:
I have compiled each function independently and they have compiled the only
problem is the main function..
I
On Tue, May 12, 2009 at 9:59 AM, applebiz89 applebi...@hotmail.com wrote:
I have compiled each function independently and they have compiled the only
problem is the main function..
I keep getting the error 'films not defined' and I am not sure why
[code]
type Title = String
type Director
Am Dienstag 12 Mai 2009 18:59:47 schrieb applebiz89:
I have compiled each function independently and they have compiled the only
problem is the main function..
I keep getting the error 'films not defined' and I am not sure why
[code]
type Title = String
type Director = String
type Year =
applebiz89 wrote:
I have compiled each function independently and they have compiled the only
problem is the main function..
I keep getting the error 'films not defined' and I am not sure why
Well, because it is not defined :)
type Title = String
type Director = String
type Year = Int
type