Changeset 5117


Ignore:
Timestamp:
12/13/03 20:21:16 (18 years ago)
Author:
piso
Message:

DO-SYMBOLS, DO-EXTERNAL-SYMBOLS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/boot.lisp

    r5016 r5117  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: boot.lisp,v 1.135 2003-12-08 03:01:06 piso Exp $
     4;;; $Id: boot.lisp,v 1.136 2003-12-13 20:21:16 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    273273            ,@forms))))))
    274274
     275(defmacro do-symbols ((var &optional (package '*package*) (result nil)) &body body)
     276  `(dolist (,var
     277            (append (sys::package-symbols ,package)
     278                    (sys::package-inherited-symbols ,package))
     279            ,result)
     280     ,@body))
     281
     282(defmacro do-external-symbols ((var &optional (package '*package*) (result nil)) &body body)
     283  `(dolist (,var (sys::package-external-symbols ,package) ,result) ,@body))
    275284
    276285;;; From CMUCL.
    277 
    278286(defmacro with-output-to-string ((var &optional string &key element-type)
    279287         &body forms)
Note: See TracChangeset for help on using the changeset viewer.