
10 Dec
2010
10 Dec
'10
7:05 a.m.
To use an operator as a function you must use the section notation:
pl a = (a ++)
On 10 December 2010 12:59, 吴兴博
pl a b = a ++ b
pl a = a ++
The second definition cannot be accept by neigher ghci nor ghc. What's the problem?
(ghc 6.12.3)
-- ---------------- WU XingBo
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners