Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • chiles's avatar
    5ce639ce
    · 5ce639ce
    chiles authored
    Fdefinition.lisp is all new, and it contains the following interface routines:
    
       EXT:ENCAPSULATED-DEFINITION
          Returns whatever definition is stored for name, regardless of whether it
          is encapsulated.  This is SETF'able.
       EXT:ENCAPSULATE
          Replaces the definition of name with a function that binds name's
          arguments a variable named argument-list, binds name's definition to a
          variable named basic-definition, and EVAL's body in that context.  Type
          is whatever you would like to associate with this encapsulation for
          identification in case you need multiple encapsuations of the same name.
       EXT:UNENCAPSULATE
          Removes name's most recent encapsulation of the specified type.
       EXT:ENCAPSULATED-P
          Returns t if name has an encapsulation of the given type, otherwise nil.
    
       LISP:FDEFINITION
          Return name's global function definition.  This is SETF'able.
       LISP:FBOUNDP
          Return true if name has a global function definition.
       LISP:FMAKUNBOUND
          Make Name have no global function definition.
    5ce639ce
    History
    chiles authored
    Fdefinition.lisp is all new, and it contains the following interface routines:
    
       EXT:ENCAPSULATED-DEFINITION
          Returns whatever definition is stored for name, regardless of whether it
          is encapsulated.  This is SETF'able.
       EXT:ENCAPSULATE
          Replaces the definition of name with a function that binds name's
          arguments a variable named argument-list, binds name's definition to a
          variable named basic-definition, and EVAL's body in that context.  Type
          is whatever you would like to associate with this encapsulation for
          identification in case you need multiple encapsuations of the same name.
       EXT:UNENCAPSULATE
          Removes name's most recent encapsulation of the specified type.
       EXT:ENCAPSULATED-P
          Returns t if name has an encapsulation of the given type, otherwise nil.
    
       LISP:FDEFINITION
          Return name's global function definition.  This is SETF'able.
       LISP:FBOUNDP
          Return true if name has a global function definition.
       LISP:FMAKUNBOUND
          Make Name have no global function definition.