Changeset 4556


Ignore:
Timestamp:
10/28/03 02:40:42 (19 years ago)
Author:
piso
Message:

MULTIPLE-VALUE-SETQ

File:
1 edited

Legend:

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

    r4555 r4556  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: boot.lisp,v 1.121 2003-10-28 02:28:46 piso Exp $
     4;;; $Id: boot.lisp,v 1.122 2003-10-28 02:40:42 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    419419
    420420(sys::%load "late-setf.lisp")
     421
     422;; MULTIPLE-VALUE-SETQ (from CMUCL)
     423(defmacro multiple-value-setq (varlist value-form)
     424  (unless (and (listp varlist) (every #'symbolp varlist))
     425    (error "~S is not a list of symbols" varlist))
     426  `(values (setf (values ,@varlist) ,value-form)))
Note: See TracChangeset for help on using the changeset viewer.