[Haskell-cafe] Don't make 'show*' functions

brian brianchina60221 at gmail.com
Fri Dec 26 15:52:29 EST 2008

On Fri, Dec 26, 2008 at 1:55 PM, Jeff Heard <jefferson.r.heard at gmail.com> wrote:
> Off the top of my head, I would say that the traditional meaning of
> Show could be changed to Serial, where serial encompasses both Read
> and Show -- possibly we could find a more efficient read function,
> several have been proposed.  Then a separate class could be made for
> HumanReadable (or Loggable) where the point would bet that we write
> something that can be read by humans without conforming to a
> particular grammar that Haskell could read back in.

+1. 'Show' sounds like it's for what Java 'toString' and Ruby 'to_s',
etc., do, and that's not right.

More information about the Haskell-Cafe mailing list