>>>>> c_stanto <[EMAIL PROTECTED]> (CS) writes:
CS> Can anyone tell me what is wrong with this code?
CS> I have tried a lot of different thing and have tried to read up and figure
CS> it out but I can't find anything. If you can help I would greatly
CS> appreciate it.
CS> module Main(main) where
CS> type Entry b = (String,b)
CS> type Table = [Entry]
CS> addToTable :: Entry -> Table -> Table
CS> addToTable newEntry currentTable
CS> = currentTable : newEntry
I think this should be newEntry : currentTable
--
Piet van Oostrum <[EMAIL PROTECTED]>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: [EMAIL PROTECTED]