<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">&lt;<a href="mailto:jfredett@gmail.com">jfredett@gmail.com</a>&gt;</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 &quot;yesIShouldReallyLikeToKnowTheSumOfTheseTwoThingsOverWhichTheOperationOfSummationIsDulyAndTotallyDefined&quot;<br>
<br>
(-) is the same, but with &quot;Summation&quot; changed to &quot;AdditiveInverseAndSummation&quot;<br>
<br>
the `do` construct ought to be renamed &quot;doThisMonadicComputationForMePleaseByDesugaringThisConvienentNotationAndTurningItIntoASequenceOfBindFunctionsAndLambdaAbstractionsSuchThatMyIntendedMeaningInFactIsReflected&quot;<br>

<br>
Further, things like &quot;unsafePerformIO&quot; is not nearly descriptive enough, however, I leave it&#39;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 &#39;length&#39; ***unless you really want to know the exact length of a<br>
list***<br>
<br>
Proposal:<br>
rename &#39;length&#39; to &#39;yesIReallyWantToKnowTheExactLengthOfThisListSoPleaseCalculateItForMe&#39;<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>