That would lead to incompatibilities, with different packages using different instances.

Отправлено с iPhone

4 февр. 2016 г., в 7:45, Imants Cekusins <imantc@gmail.com> написал(а):

What if (some) show instances where alternative representations are possible, were moved out of Prelude?

A selection of modules with alternative show instances would be available from stand alone modules. To be imported as needed.

For example, bytestring may be 'show'ed in different ways.

Less convenient than now, backward incompatible yet simple enough.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe