<div dir="ltr">Hi folks, I&#39;ve been digging into S7s environment support and loving it. I have implemented a really convenient pseudo-inheritance-through-delegation setup for my process objects, and one thing I&#39;m using is the let-set! function to allow updating internal variables from outside if desired. My little method looks like this (in side of a let inside a function)<div><br></div><div>(define (set sym val)<br>      ;; TODO this doesn&#39;t allow setting values that are not yet set<br>      ;; need to check if symbol is in let and then set it<br>      (let-set! proc-env sym val))<br></div><div><br></div><div>However, this of course errors if I try to use if and sym is not defined. I tried mucking about with the defined?  predicate, but got confused by the docs. If anyone can tell me how I can easily add to the above the following, that would be lovely:</div><div><br></div><div>- if sym not defined in proc-env, define sym to val </div><div><br></div><div>iain</div><div><br></div></div>