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

last がドットリストに対してエラーとなる #426

Open
coffee-p opened this issue Sep 12, 2015 · 0 comments
Open

last がドットリストに対してエラーとなる #426

coffee-p opened this issue Sep 12, 2015 · 0 comments

Comments

@coffee-p
Copy link

現状の v.253 では
(last '(1 2 . 3)) => 不正なデータ型です: 3: list
となっている (エラーの文言がそもそもおかしい) が、
手元の v.235 , CltL2 , hyperspec では
(last '(1 2 . 3)) => (2 . 3)
末尾の cons を返し、末尾の list を返すのではないから当然です。
小生はおそらく、v.239 [ 循環リストの copy-tree を修正した ] あたりでバグが発生したと思いますが C 言語は詳しくないのではっきりとはわかりません。[ 先日、早トチリで list-lehgth について投稿しました。]
更新が滞っているようですが早急なる善処を望みます。

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