Feedback It's the order of evaluation 

Forum: U Chicago, Com Sci 221, autumn 2000
Re: News Final exam Monday 4 December (Mike O'Donnell)
Re: None ML Pattern Matching Review (Oliver Rothschild)
Date: 2000, Dec 02
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

Focus attention on the order of evaluation. If the ML aspect is confusing you, think first about the conditional function lif that I defined for Scheme in the last file of Scheme examples in the lecture notes---the one on ``Minimalist Scheme'':


(define ltrue

  (lambda (x y) x)
)


(define lfalse

  (lambda (x y) y)
)


(define (lif c a b)

  (c a b)
)
If you can see the problem with lif above, you'll get some insight into the ML example.

Yes, this is a good problem to study to prepare for Problem 4 on the final.



Mike O'D.


to: "It's the order of evaluation"