self blocks

Kuba Kubalski kuba%starcom%navtech at sj.ATE.SLB.COM
Thu Dec 13 01:10:36 UTC 1990

It is said that blocks in self are close to closures in scheme, so I 
have tried to implement the following:

(define (cond-gen par1)
  (define (parametrized-test par2)
    (= par1 par2))

(define test-if-equals-4 (cond-gen 4))

(test-if-equals-4 4)

and after couple failures gave up.  Does anybody have a solution 
to this problem?


More information about the Self-interest mailing list