[Openmcl-devel] Initial bindings
Gary Byers
gb at clozure.com
Wed Oct 6 02:17:32 PDT 2010
This needs to be documented of course, but you want to use the macro
(ccl::def-standard-initial-binding name ...)
and it should be exported (possibly after being tweaked to be a bit
fitter for public consumption.)
Note that when you didn't quote the variable and its value was used, that
value had reverted to NIL; the PROGV in the new thread's startup code
complained that that wasn't a bindable symbol. This needs to be caught
a lot earlier.
On Wed, 6 Oct 2010, Ron Garret wrote:
>
> On Oct 6, 2010, at 12:34 AM, Ron Garret wrote:
>
>> ? (ccl::define-standard-initial-binding *print-string-length* (lambda () nil))
>
> Oh, foo. DEFINE-STANDARD-INITIAL-BINDING is a function, not a macro. So the symbol needs to be quoted.
>
> Double grrr....
>
> rg
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>
More information about the Openmcl-devel
mailing list