[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another omission: global lexicals



    Date: Sun, 15 Dec 1985  14:53 EST
    From: Rob MacLachlan <RAM@C.CS.CMU.EDU>

    I suggest this syntax:  DEFGLOBAL <name> <value> [<doc-string>]

And what semantics do you suggest?  That is, OK, it's lexical, so what
is its lexical scope?

The oft-discussed

(let ((a 4))
  (defun foo (x) ...)
  (defun bar (y) ...)
)

would be a way to get global lexicals, if it were Common Lisp.  The
current manual is ambiguous, or at least vague, about whether this is
construct is part of valid portable Common Lisp or not.