X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ffndb.lisp;h=c3251fd7feabdca16033dde2be0e26d7efbbe4ee;hb=e02c32bd4d07a7d30c9a9d78be54f1f9f84f9877;hp=d4c389bc03acc08787355f8ccf01640bd8a18d79;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/compiler/fndb.lisp b/src/compiler/fndb.lisp index d4c389b..c3251fd 100644 --- a/src/compiler/fndb.lisp +++ b/src/compiler/fndb.lisp @@ -12,9 +12,6 @@ ;;;; files for more information. (in-package "SB!C") - -(file-comment - "$Header$") ;;;; information for known functions: @@ -450,7 +447,7 @@ (flushable) :derive-type (result-type-specifier-nth-arg 1)) -(defknown map (type-specifier callable sequence &rest sequence) consed-sequence +(defknown (map %map) (type-specifier callable sequence &rest sequence) consed-sequence (flushable call) ; :DERIVE-TYPE 'TYPE-SPEC-ARG1 ? Nope... (MAP NIL ...) returns NULL, not NIL. ) @@ -462,7 +459,7 @@ (defknown %map-to-nil-on-vector (callable vector) null (flushable call)) (defknown %map-to-nil-on-sequence (callable sequence) null (flushable call)) -;;; returns predicate result... +;;; returns the result from the predicate... (defknown some (callable sequence &rest sequence) t (foldable flushable call)) @@ -1272,7 +1269,8 @@ (values (simple-array * (*)) index index index) (foldable flushable)) (defknown %set-symbol-package (symbol t) t (unsafe)) -(defknown %coerce-name-to-function (t) function (flushable)) +(defknown %coerce-name-to-function ((or symbol cons)) function (flushable)) +(defknown %coerce-callable-to-function (callable) function (flushable)) ;;; Structure slot accessors or setters are magically "known" to be ;;; these functions, although the var remains the Slot-Accessor