[Haskell-cafe] Query on list comprehension

Melanie_Green jac_legend_sas at hotmail.com
Wed Mar 18 02:47:00 EDT 2009


What are the limitations of list comprehension. I want to use
listcomprehension to output the pattern below. So a mixture of a's and
newline characters. The part im stuck at is creating arguments in the
listcomprehension to stop at some point then execute next loop. Is it even
possible to create the pattern below purely from list comprehension.Thankyou
in advance. 

a
aa
aaa
-- 
View this message in context: http://www.nabble.com/Query-on-list-comprehension-tp22573574p22573574.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list