[plt-scheme] Implementing constructors for environment interface

From: aditya shukla (adityashukla1983 at gmail.com)
Date: Tue Feb 10 09:10:17 EST 2009

I have an interface , how can i implement a constructor extend-env* using a
list representation such that

(extend-env* (var1 ... vark) (val1 ... valk)  f ) = g,

where g(var) =vali if var = vari for some i such that 1 ≤ i ≤ k
f (var) otherwise
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090210/1bab31a2/attachment.html>

Posted on the users mailing list.