diff options
author | dos-reis <gdr@axiomatics.org> | 2011-04-22 18:32:46 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-04-22 18:32:46 +0000 |
commit | b825ed51bc11564e35f84a88bbb43fbe2ac51d99 (patch) | |
tree | 6a74d803f5619ec57d8a51228e0192e9df5f7689 /src/interp/unlisp.lisp | |
parent | 32efd3b0691918cf1d662b095c653d5a0a17ff7b (diff) | |
download | open-axiom-b825ed51bc11564e35f84a88bbb43fbe2ac51d99.tar.gz |
* boot/tokens.boot: Don't translate setDifference.
* boot/initial-env.lisp (SETDIFFERNECE): Remove.
* boot/translator.boot (evalBootFile): Rename form EVAL-BOOT-FILE.
* boot/utility.boot (setDifference): Define.
* interp/unlisp.lisp (ListMemberQ?): Remove.
(ListRemoveQ): Likewise.
(AlistAssocQ): Likewise.
Diffstat (limited to 'src/interp/unlisp.lisp')
-rw-r--r-- | src/interp/unlisp.lisp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/interp/unlisp.lisp b/src/interp/unlisp.lisp index 38804adc..bf41d526 100644 --- a/src/interp/unlisp.lisp +++ b/src/interp/unlisp.lisp @@ -1,6 +1,6 @@ ;; Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd. ;; All rights reserved. -;; Copyright (C) 2007-2008, Gabriel Dos Reis. +;; Copyright (C) 2007-2011, Gabriel Dos Reis. ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without @@ -124,23 +124,9 @@ 'string )) ) ;;; -;;; Lists -;;; - - -(defun |ListMemberQ?| (ob l) - (member ob l :test #'eq) ) - -(defun |ListRemoveQ| (ob l) - (remove ob l :test #'eq :count 1) ) - -;;; ;;; Association lists ;;; -(defun |AlistAssocQ| (key l) - (assoc key l :test #'eq) ) - (defun |AlistRemoveQ| (key l) (let ((pr (assoc key l :test #'eq))) (if pr |