Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

What does it mean?

Name: Anonymous 2010-04-11 23:00

(:).(++) :: [a] -> [[a] -> [a]] -> [[a] -> [a]]

Name: Anonymous 2010-04-11 23:25

http://www.google.com/search?q=%22(:).(%2B%2B)+::+[a]+-%3E+[[a]+-%3E+[a]]+-%3E+[[a]+-%3E+[a]]%22

Name: Anonymous 2010-04-12 3:27

The function (:) . (++) is equivalent to \f fs -> (f ++) : fs. Do you see why?

Maybe you meant to liftM2 ((:) .)?

Name: Anonymous 2010-04-12 11:40

I was confused by the use of [[a] -> [a]] rather than [([a] -> [a])]. In retrospect the second is nonsensical, because the parens don't provide an informative grouping. I was too accustomed to the most common syntax and forgot the semantics.

Anyway, thanks for answering.

Name: Anonymous 2010-04-12 11:46

>>3
YOU HELPED HIM!

Name: Anonymous 2010-04-12 11:59

>>3
liftM2 ((:) .)
I don't see how that's remotely useful. (flip (:) .) . (++) is better.

Name: Anonymous 2010-04-12 12:18

>>8
I am going to murder you with my penis.

Name: Anonymous 2010-04-12 12:31

Are the imageboards down again?

Name: Anonymous 2011-02-03 0:17


Don't change these.
Name: Email:
Entire Thread Thread List