<div dir="ltr">I should think the more obvious examples would be last and init...<br><br>Michael<br><br><div class="gmail_quote">On Sun, Nov 22, 2009 at 9:26 PM, Joe Fredette <span dir="ltr"><<a href="mailto:jfredett@gmail.com">jfredett@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Well then, on a similar note, I propose the following name changes:<br>
<br>
<br>
(+) is now "yesIShouldReallyLikeToKnowTheSumOfTheseTwoThingsOverWhichTheOperationOfSummationIsDulyAndTotallyDefined"<br>
<br>
(-) is the same, but with "Summation" changed to "AdditiveInverseAndSummation"<br>
<br>
the `do` construct ought to be renamed "doThisMonadicComputationForMePleaseByDesugaringThisConvienentNotationAndTurningItIntoASequenceOfBindFunctionsAndLambdaAbstractionsSuchThatMyIntendedMeaningInFactIsReflected"<br>
<br>
Further, things like "unsafePerformIO" is not nearly descriptive enough, however, I leave it's appropriate renaming as an exercise to the reader...<br><font color="#888888">
<br>
/Joe</font><div><div></div><div class="h5"><br>
<br>
On Nov 22, 2009, at 2:15 PM, Daniel Fischer wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Guideline:<br>
<br>
NEVER, *never ever*, use 'length' ***unless you really want to know the exact length of a<br>
list***<br>
<br>
Proposal:<br>
rename 'length' to 'yesIReallyWantToKnowTheExactLengthOfThisListSoPleaseCalculateItForMe'<br>
to reduce performance bugs caused by naive uses of length.<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</blockquote>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div>