[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-beginners
Subject:    Re: [Haskell-beginners] Important coding guideline and library
From:       ajb () spamcop ! net
Date:       2009-11-23 2:54:10
Message-ID: 20091122215410.aqwbhyiog2sc44cc-nwo () webmail ! spamcop ! net
[Download RAW message or body]

G'day all.

Quoting Daniel Fischer <daniel.is.fischer@web.de>:

> Proposal:
> rename 'length' to   
> 'yesIReallyWantToKnowTheExactLengthOfThisListSoPleaseCalculateItForMe'
> to reduce performance bugs caused by naive uses of length.

genericYesIReallyWantToKnowTheExactLengthOfThisListSoPleaseCalculateItForMe

Another option is to rename Data.List to Data.List.YesIKnowThisIsNotAnArray.

Cheers,
Andrew Bromage
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic