[Haskell-beginners] Function definition order and performance

Aleksandar Dimitrov aleks.dimitrov at googlemail.com
Tue Jun 7 11:58:08 CEST 2011


On Tue, Jun 07, 2011 at 10:59:26AM +0200, Daniel Fischer wrote:
> On Tuesday 07 June 2011, 10:33:08, Aleksandar Dimitrov wrote:
> > Note that the only thing interesting here is that safeHead' got
> > translated to safeHeadzq, which is… well. Cute, and nothing else.
> 
> It's z-encoding, 
> http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/SymbolNames
> 
> Kind of irritating when you come across a z-encoded name containing a z 
> where you don't expect z-encoding.

Well, that's outright adorable. I knew there had to be some systematic trickery
behind this; thanks for sharing :-)

Regards,
Aleks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110607/6299b71c/attachment.pgp>


More information about the Beginners mailing list