[Haskell-cafe] Deriving Show for non-regular data types

Mark Laws mdl at 60hz.org
Thu Mar 12 18:57:53 UTC 2015


On Thu, Mar 12, 2015 at 10:52 PM, adam vogt <vogt.adam at gmail.com> wrote:
> Adding this instance lets your example work:
>
> instance Show1 BankersDeque where showsPrec1 = showsPrec

Ah, now it makes sense. Thank you very much for your help!

Cheers,
Mark Laws

-- 
|v\ /\ |\ |< |_ /\ \^| //


More information about the Haskell-Cafe mailing list