[clean-list] operator with one argument

Jigang Sun Jigang.Sun at student.paisley.ac.uk
Sat Apr 21 00:11:16 MEST 2007


Maybe I am doing a strange thig:

(INC) :: Int  -> Int
(INC) x  = x + 1

Start =  (INC) 3 

it ok 4 is produced.

if change to
Start = 3 INC
Error [test.icl,39,]: INC second argument of infix operator missing

Could anyone suggest me what the second argument should be?

Jigang





Legal disclaimer
--------------------------

The information transmitted is the property of the University of Paisley and is intended only for the person or entity 
to which it is addressed and may contain confidential and/or privileged material.  Statements and opinions expressed in this e-mail may not represent those of the company.  Any review, retransmission, dissemination and other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender immediately and delete the material from any computer. 

--------------------------




More information about the clean-list mailing list