Talk:Factors of an integer: Difference between revisions

added a section header name for the first talk section to force the __TOC__ to the proper place.
(added a section header name for the first talk section to force the __TOC__ to the proper place.)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
==Should this be "Basic language learning"?==
Should this be "Basic language learning"? I don't even know.
[[User:Oligomous|Oligomous]] 12:10, 15 August 2009 (UTC)
Line 40 ⟶ 41:
Very nice final list comprehension example there. Thanks !
 
Perhaps Johan Tibell style (https://github.com/tibbe/haskell-style-guide) or hindent (http://chrisdone.com/posts/hindent-5) to bring the 97-character within the 80 character Rosetta guidelines, and for ease of reading ? (PS maybe thethat Data.List import is not needed with current default builds of GHC ? Those functions all seem to be Prelude default)
 
<lang haskell>factors_o :: Integral a => a -> [a]
Line 58 ⟶ 59:
| i <- [1 .. r - 1]
, mod n i == 0 ]</lang>
 
: A rare 97 character line does not seem like a problem, to me. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 16:29, 29 December 2016 (UTC)