[Haskell-cafe] Need some help with an infinite list

GüŸnther Schmidt gue.schmidt at web.de
Tue Jun 16 20:28:55 EDT 2009


Hi guys,

I'd like to generate an infinite list, like

["a", "b", "c" .. "z", "aa", "ab", "ac" .. "az", "ba", "bb", "bc" .. 
"bz", "ca" ...]

When I had set out to do this I thought, oh yeah no prob, in a heartbeat.

Uhm.

Help, pls!

Günther

PS: I know this should be a no-brainer, sry



More information about the Haskell-Cafe mailing list