Changeset 5299


Ignore:
Timestamp:
01/01/04 01:34:58 (17 years ago)
Author:
piso
Message:

REQUIRE-TYPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/early-defuns.lisp

    r4246 r5299  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: early-defuns.lisp,v 1.3 2003-10-07 17:20:41 piso Exp $
     4;;; $Id: early-defuns.lisp,v 1.4 2004-01-01 01:34:58 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    2222(defun require-type (arg type)
    2323  (unless (typep arg type)
    24     (error 'type-error "the value ~S is not of type ~A" arg type)))
     24    (error 'simple-type-error
     25           :format-control "The value ~S is not of type ~A."
     26           :format-initargs arg type)))
    2527
    2628(defun caaaar (list) (car (car (car (car list)))))
Note: See TracChangeset for help on using the changeset viewer.