Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCL:FUNCTION-INFORMATION does not return type information #458

Open
galdor opened this issue Sep 24, 2023 · 0 comments
Open

CCL:FUNCTION-INFORMATION does not return type information #458

galdor opened this issue Sep 24, 2023 · 0 comments

Comments

@galdor
Copy link

galdor commented Sep 24, 2023

Given the following code:

(defpackage :example
  (:use :cl))

(in-package :example)

(declaim (ftype (function (float float) float) foo))
(defun foo (a b)
  (+ a b))

(CCL:FUNCTION-INFORMATION 'EXAMPLE::FOO) yields (VALUES FUNCTION NIL NIL). Given the top-level FTYPE declaration, I would expect the third value (an alist) to contain a (FTYPE FUNCTION (FLOAT FLOAT) FLOAT) entry, as described in CLtL2 8.5. Environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant