Ignore:
Timestamp:
07/02/03 18:35:33 (18 years ago)
Author:
piso
Message:

(in-package "SYSTEM")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/member-if.lisp

    r2723 r2729  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: member-if.lisp,v 1.2 2003-07-02 17:58:28 piso Exp $
     4;;; $Id: member-if.lisp,v 1.3 2003-07-02 18:35:00 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    1818;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    1919
    20 (in-package "COMMON-LISP")
     20(in-package "SYSTEM")
    2121
    2222(defun member-if (test list &key key)
    2323  (do ((list list (cdr list)))
    2424      ((endp list) nil)
    25     (if (funcall test (sys::apply-key key (car list)))
     25    (if (funcall test (apply-key key (car list)))
    2626  (return list))))
    2727
     
    2929  (do ((list list (cdr list)))
    3030      ((endp list) ())
    31     (if (not (funcall test (sys::apply-key key (car list))))
     31    (if (not (funcall test (apply-key key (car list))))
    3232  (return list))))
Note: See TracChangeset for help on using the changeset viewer.