X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ffndb.lisp;h=2b6ba93a138d902f9b4fd7aeb4a4ce1ba3b6b518;hb=7f008dde7e2c89187a963444e09a8bc594bd9f91;hp=dbdc0a568c8eeb812de4cced524b8078a96d9336;hpb=ea1fd7753b7dc1277a7d250fed317300fe1e5772;p=sbcl.git diff --git a/src/compiler/fndb.lisp b/src/compiler/fndb.lisp index dbdc0a5..2b6ba93 100644 --- a/src/compiler/fndb.lisp +++ b/src/compiler/fndb.lisp @@ -667,14 +667,19 @@ (movable flushable unsafe)) ;;; All but last must be of type LIST, but there seems to be no way to -;;; express that in this syntax.. +;;; express that in this syntax. (defknown append (&rest t) t (flushable)) (defknown copy-list (list) list (flushable)) (defknown copy-alist (list) list (flushable)) (defknown copy-tree (t) t (flushable recursive)) (defknown revappend (list t) t (flushable)) -(defknown nconc (&rest list) list ()) + +;;; All but last must be of type LIST, but there seems to be no way to +;;; express that in this syntax. The result must be LIST, but we do +;;; not check it now :-). +(defknown nconc (&rest t) t ()) + (defknown nreconc (list t) list ()) (defknown butlast (list &optional index) list (flushable)) (defknown nbutlast (list &optional index) list ())