Minor containers API changes

Joachim Breitner mail at joachim-breitner.de
Tue Nov 29 22:28:04 CET 2011


Hi,

Am Dienstag, den 29.11.2011, 14:20 +1100 schrieb Ivan Lazar Miljenovic:
> There's still the tension of whether to
> put particular functions as class methods or not though (e.g. just
> look at these proposals about whether to include certain functions).

I’d expect that in a lot of uses, the type is known at compile time. In
that case, the general of a function that is not part of the class can
be replaced by an optimized function using RULES, can’t it?

But this is not perfect, because non-inlined code that is itself still
polymorphic would not benefit from that.

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
  mail at joachim-breitner.de  |  nomeata at debian.org  |  GPG: 0x4743206C
  xmpp: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/

-------------- 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/libraries/attachments/20111129/b6074c27/attachment.pgp>


More information about the Libraries mailing list