[Haskell-cafe] Not exporting a class

Joachim Breitner nomeata at debian.org
Sun Nov 11 14:10:34 CET 2012


dear package authors. If you define a useful class, please think twice
before you do not export the methods, otherwise something like this will

Am Samstag, den 10.11.2012, 21:39 -0800 schrieb David Fox:
> It looks like there is an export copy of the whole prettyprint system
> in template-haskell.  I could switch over to that.  Oh, and another
> one in uulib.  And also in ansi-wl-pprint.  I think I will switch to
> this last one.
> On Sat, Nov 10, 2012 at 6:17 PM, David Fox <dsf at seereason.com> wrote:
>         It may belong in Text.PrettyPrint.
>         On Sat, Nov 10, 2012 at 6:16 PM, David Fox <dsf at seereason.com>
>         wrote:
>                 About as small as a package can get!  Yeah, the Pretty
>                 class is in haskell-src, but they don't export the
>                 pretty method.  I will drop them a line, but I sort of
>                 assumed they had a reason for doing it that way
>                 On Thu, Nov 8, 2012 at 2:02 PM, Joachim Breitner
>                 <mail at joachim-breitner.de> wrote:
>                         Hi David,
>                         your pretty-class package is pretty small. In
>                         the interest of preventing
>                         package proliferation: Have you talked to the
>                         maintainers of pretty or
>                         haskell-src-exts whether they’d include the
>                         class in their code?


Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121111/e89c0feb/attachment.pgp>

More information about the Haskell-Cafe mailing list