
7 Jan
2012
7 Jan
'12
5:10 p.m.
What an idiot am I! Thank you very much. On Jan 8, 2012, at 12:49 AM, Brent Yorgey wrote:
On Sun, Jan 08, 2012 at 12:11:29AM +0800, Zhi-Qiang Lei wrote:
scan :: [Point a] -> [Point a] scan p1 : p2 : p3 : xs
Patterns with constructors and multiple components must be surrounded by parentheses. So this should be
scan (p1 : p2 : p3 : xs)
-Brent
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
Best regards, Zhi-Qiang Lei zhiqiang.lei@gmail.com