Colorful numbers: Difference between revisions
Content added Content deleted
m (Add brief description.) |
m (Minor wording change in description.) |
||
Line 397: | Line 397: | ||
=={{header|Haskell (alternate version)}}== |
=={{header|Haskell (alternate version)}}== |
||
An alternate Haskell version, which some may consider to be in a more |
An alternate Haskell version, which some may consider to be in a more idiomatic style. No attempt at optimization has been made, so we don't attempt the stretch goals. |
||
<lang haskell>import Data.List (inits, nub, tails, unfoldr) |
<lang haskell>import Data.List (inits, nub, tails, unfoldr) |
||