Created
December 15, 2011 06:24
-
-
Save miyamuko/1480046 to your computer and use it in GitHub Desktop.
equalp に hash-table を渡すと謎の多値が返ってくる #xyzzy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(equalp (alexandria:plist-hash-table '(:foo 1 :bar 2)) | |
(alexandria:plist-hash-table '(:foo 1 :bar 2))) | |
t | |
t | |
(equalp (alexandria:plist-hash-table '(:foo 1 :bar 2)) | |
(alexandria:plist-hash-table '(:foo 1))) | |
nil | |
(equalp (alexandria:plist-hash-table '(:foo 1 :bar 2)) | |
(alexandria:plist-hash-table '(:bar 2 :foo 1))) | |
t | |
t | |
(equalp (alexandria:plist-hash-table '(:foo 1 :bar 2)) | |
(alexandria:plist-hash-table '(:foo 1 :bar 3))) | |
nil | |
t | |
pred.cc 読んだけどよく分からなかった。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment