<p dir="ltr">That's why I think Daniel Fischers solution is the one. </p>
<div class="gmail_quote">Am 22.04.2014 10:59 schrieb "Frerich Raabe" <<a href="mailto:raabe@froglogic.com">raabe@froglogic.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 2014-04-22 10:49, Norbert Melzer wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This one doesn't work, since pappus doesn't return a list<br>
</blockquote>
<br>
Ah, right, I forgot to adjust that part. How about<br>
<br>
   chain1 = [ translate x y $ color red $ Circle r | i <- [1..10], let (x,y,r) = pappus 100 i ]<br>
<br>
...though I'm not too fond of 'let' declarations in list comprehensions.<br>
<br>
-- <br>
Frerich Raabe - <a href="mailto:raabe@froglogic.com" target="_blank">raabe@froglogic.com</a><br>
<a href="http://www.froglogic.com" target="_blank">www.froglogic.com</a> - Multi-Platform GUI Testing<br>
______________________________<u></u>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/beginners</a><br>
</blockquote></div>