[Haskell-beginners] A "show" error

Brandon Allbery allbery.b at gmail.com
Thu Apr 12 03:07:45 CEST 2012


On Wed, Apr 11, 2012 at 18:49, Lyndon Maydwell <maydwell at gmail.com> wrote:

> Is 6 actually a limit, or is that just what is already defined? Could
> a new Show instance for 7-tuples be defined?


It can be defined, it's just a pain in the butt.  GHC predefines Show for
up to something like 15-tuples, I think.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120411/f322da56/attachment.htm>


More information about the Beginners mailing list