<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 8, 2020 at 11:17 AM Adam <<a href="mailto:adam.mlmb@gmail.com">adam.mlmb@gmail.com</a>> wrote:<br></div><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>For completeness can you please provide some reference URL to the latter two or/and describe very briefly?<br></div></div></div></blockquote><div><br></div><div>For fluid variables, see the withdrawn SRFI 15, <<a href="https://srfi.schemers.org/srfi-15/srfi-15.html">https://srfi.schemers.org/srfi-15/srfi-15.html</a>>.  Dynamic variables are an equivalent Common Lisp concept.  Fluid and dynamic variables behave like global variables that have been bound permanently to a parameter, so they are accessible from everywhere and can be parameterized anywhere.  In Common Lisp, all top-level variables (but not constants or functions) are dynamic, and conventionally are written with an asterisk as a prefix and suffix.  In addition, when a variable in a Common LIsp lambda-list (or equivalent) is dynamic, it will be parameterized rather than lexically bound when the procedure is called.</div><div><br></div><div>All the examples I have found (except Marc's, thank you Marc) involve using parameters in exactly this way, which I why I am especially interested in other use cases.</div><div><br></div><div>There is a problem with parameters: if a procedure implicitly depends on a parameter, and you want to use the procedure in a "localized" way, then binding the parameter around the whole or a substantial part of a program is convenient.  But to use such a procedure in a "universal" way independent of its context, it is necessary to wrap *every* call in a parameterize expression.</div><div><br></div><div><br></div><div><br></div><div>John Cowan          <a href="http://vrici.lojban.org/~cowan">http://vrici.lojban.org/~cowan</a>        <a href="mailto:cowan@ccil.org">cowan@ccil.org</a><br>Objective consideration of contemporary phenomena compel the conclusion<br>that optimum or inadequate performance in the trend of competitive<br>activities exhibits no tendency to be commensurate with innate capacity,<br>but that a considerable element of the unpredictable must invariably be<br>taken into account. --Ecclesiastes 9:11, Orwell/Brown version<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left:1px solid rgb(204,204,204)">
</blockquote></div></div></div>
</blockquote></div></div>