On 4/22/2014 8:58 AM, Kim-Ee Yeoh wrote:
<mailto:ngnr63q02@sneakemail.com>> wrote:
chain1 = [ translate x y $ color red $ Circle r | (x,y,r) <- pappus 100 [1..10] ]
What is translate? What is color? What is Circle? What is pappus?
None of this is plain haskell.
John, if you make your readers guess at undefined names, they'll go away and hangout
somewhere friendlier!
-- Kim-Ee
Sorry — I thought showing a form that did work would be enough. The important part is that I have a input = map foo [0..10] and a bar (t1,t2,t3) = baz where baz returns a tuple, and the result of bar is the guts of another map.
I didn't realize that using real words from a library instead of foo and bar was considered unfriendly!
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners