[Haskell-beginners] first open source haskell project and a mystery to boot
Alia
alia_khouri at yahoo.com
Fri Oct 14 17:12:58 CEST 2011
David McBride wrote:
> Sorry, it is the id3 function. I'm not sure if the code ever worked,
> or if you are using it in a way that was not intended by the writer.
> It is because somehow xs because empty while attrs is not empty, then
> it tries to take the head of an empty list. If you know what it
> should be doing well enough, you could fix it by giving it a valid
> case for when:
> id3 atts [] = ....
> Unfortunately I have no idea how this id3 function is supposed to work.
No worries. I appreciate you taking the time to have a look at this in any case.
Best,
AK
More information about the Beginners
mailing list