combining 'constant and 'global for a "standard library
Posted: Sun Apr 27, 2008 7:38 pm
Let's say that I want a 'standard library' with functions available
globally and I _don't_ meself to mistakenly futz with these functions.
Here's what appears to work:
Brief tests seems to support that this works, but I would welcome
any comments, caveats or other ways to do this.
Thanks
Tim
globally and I _don't_ meself to mistakenly futz with these functions.
Here's what appears to work:
Code: Select all
(set 'f '(putb ltrim ltrims)) ;; previously 'defined functions
(apply global f)
(apply constant f)
any comments, caveats or other ways to do this.
Thanks
Tim