On Aug 7, 2011, at 1:09 PM, Manfred Lotz wrote: > If this were possible that would be fine. When trying to compile this > however I get: parse error on input `=' Yes, this is not legal syntax. I gave it as example of what I understand that you want. It is not possible in Haskell.