Hi, I'm very, very new to Haskell. I am trying to understand the following error, but I'm having a hard time wrapping my head around the whole type system.
The problem is that when I load this code in the interpreter and write >empty I get the following error <interactive>:108:1: No instance for (Show (s0 a0)) arising from a use of ‘print’ The type variables ‘s0’, ‘a0’ are ambiguous I mean when I write "LS []" it works just fine. But something is wrong with empty. Thanks, Uneeb |