Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Latest commit

 

History

History
21 lines (13 loc) · 333 Bytes

7.13.md

File metadata and controls

21 lines (13 loc) · 333 Bytes
(let-exp var exp body) : texp = t1
                         tvar = t1
                         tbody[tvar = t1] = t2
  1. let x = 4 in (x 3)

Invalid.

  1. let f = proc (z) z in proc (x) -((f x), 1)

(int -> int)

  1. let p = zero?(1) in if p then 88 else 99

int

  1. let p = proc (z) z in if p then 88 else 99

Invalid