Otto out!
--
=======================================================================
Otto Mok mailto:om...@undergrad.math.uwaterloo.ca
4B Computer Science with Electrical Engineering Electives
University of Waterloo http://www.undergrad.math.uwaterloo.ca/~omok/
No.
(((fun x fun y y x y) b y b) k)
=beta (((fun y y b y) y b) k)
=beta ((y b y b) k)
((fun x (fun y y x y) k ) b y b)
=beta ((fun y y b y) k y b)
=beta (k b k y b)
maybe you meant
(((fun x fun y y x y) (b y b)) k)
=beta ((fun y' y' (b y b) y') k)
=beta (k (b y b) k)
((fun x (fun y y x y) k ) (b y b))
=beta ((fun y' y' (b y b) y') k )
=beta (k (b y b) k)
--
Gordon V. Cormack CS Dept, University of Waterloo, Canada N2L 3G1
gvco...@uwaterloo.ca http://cormack.uwaterloo.ca/cormack
Function application is left-to-right (with higher priority than abstraction).
So for example, ((fun x x x) a b c) is fully parenthesized as:
((( (fun x (x x)) a)b)c)
and not as:
((fun x (x x)) (a b c))
Robert
(a b c) and ((a b) c) are equivalent according to the priority rules.