Talk:Sieve of Eratosthenes: Difference between revisions

Content added Content deleted
Line 248: Line 248:


::::::yes, I know (both about the implementation :) and the meaning of the function). I even wanted to rename it <code>span</code>. -- [[User:WillNess|WillNess]] ([[User talk:WillNess|talk]]) 10:59, 15 September 2014 (UTC)
::::::yes, I know (both about the implementation :) and the meaning of the function). I even wanted to rename it <code>span</code>. -- [[User:WillNess|WillNess]] ([[User talk:WillNess|talk]]) 10:59, 15 September 2014 (UTC)

== Recent edits to Haskell and my reversal of them ==

Much careful thought went into gradually presenting the codes. No function was missing, it was defined in setions above its use. No need to define same "minus" function over and over. In Haskell, short variable names are idiomatic; long ones with tortured pronunciation aren't. "gaps" is perfectly idiomatic and is clear upon examining the code. Your redefinition of "minus" is not an improvement, as it uses two calls "<" and ">" instead of one "compare". You confused between "left" and "right" leaning structure, and it is anyway explained in the following subsection. Similarly, "gap" appears in the following subsection, as an improvement, no need to improve the previous function as it only serves as an illustration anyway. The spacing in the simple unbounded version is carefully chosen to follow closely the spacing of the original Miranda code by D. Turner. etc. etc. etc.

I kept several of the remarks you've added. Thanks. -- [[User:WillNess|WillNess]] ([[User talk:WillNess|talk]]) 14:06, 10 April 2015 (UTC)