Hello,
I try to make a guarded solution to find the last item in a list.
I thought I could do something like this
| length a == 1 = a
But then I see a lot of error messages.
Is there another way I can check the length of a list with guards ?
Roelof
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe