Talk:Factors of an integer: Difference between revisions

Content added Content deleted
(Perhaps a narrower layout for readability of the 97 char Haskell line ?)
Line 40: Line 40:
Very nice final list comprehension example there. Thanks !
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 withing the 80 character Rosetta guidelines, and for ease of reading ? (PS maybe the Data.List import is not needed with current default builds of GHC ? Those functions all seem to be Prelude default)
Perhaps Johan Tibell style (https://github.com/tibbe/haskell-style-guide) or hindent (http://chrisdone.com/posts/hindent-5) to bring the 97-character withing the 80 character Rosetta guidelines, and for ease of reading ? (PS maybe the 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]
<lang haskell>factors_o :: Integral a => a -> [a]