<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 7, 2016 at 10:06 AM, Mark Hinds <span dir="ltr"><<a href="mailto:zoro98020@gmail.com" target="_blank">zoro98020@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Question - Perl's anonymous functions seem to operate perfectly well<br>
as closures - they capture the referenced environment properly and<br>
free it when they themselves are no longer referenced. The guile<br>
folks disputed that me those many years ago. Thoughts?<br></blockquote><div><br></div><div> Hard to know what to say without knowing what they were arguing.<br><br></div><div>They don't in fact capture the environment; they capture specific lexicals.  This makes a difference if a lexical is only used in the closure in a string eval.<br></div></div></div></div>