Ouch, how silly of me, I did not make a backup and have been fiddling with the code and now it works. Next time I make sure I'll make backup, sorry about that.
Peter Verswyvelen wrote:Can you share with us your function and the compiler error, or a small test case and the compiler error?
Could it be considered a bug when a function compiles fine without type signature, but when you add the type signature that GHCi reports with :type, it fails to compile?
Groetjes,
Martijn.