[Haskell-cafe] newtype deriving Alternative

Martijn van Steenbergen martijn at van.steenbergen.nl
Wed Oct 14 18:45:07 EDT 2009


It doesn't work for this one:

> newtype Split a = Split { runSplit :: [Either a (Char, Split a) ]}

But my handwritten instance remains identical.

Groetjes,

Martijn.



More information about the Haskell-Cafe mailing list