j
k
j a
j l
Andrew Coppin wrote:
...instnace Show (Foo Int) ... instnace Show (Foo Double) ... ...WHY did I not think of this myself? o_O
instnace Show (Foo Int) ... instnace Show (Foo Double) ...
...WHY did I not think of this myself? o_O
Because it is not Haskell'98? It requires {-# LANGUAGE OverlappingInstances #-} Regards, Malcolm
Back to the thread
Back to the list