{"action":"created","issue":{"url":"https://api.github.com/repos/euslisp/EusLisp/issues/328","repository_url":"https://api.github.com/repos/euslisp/EusLisp","labels_url":"https://api.github.com/repos/euslisp/EusLisp/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/euslisp/EusLisp/issues/328/comments","events_url":"https://api.github.com/repos/euslisp/EusLisp/issues/328/events","html_url":"https://github.com/euslisp/EusLisp/issues/328","id":362827596,"node_id":"MDU6SXNzdWUzNjI4Mjc1OTY=","number":328,"title":"identity function returns wrong result","user":{"login":"iory","id":4690682,"node_id":"MDQ6VXNlcjQ2OTA2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/4690682?v=4","gravatar_id":"","url":"https://api.github.com/users/iory","html_url":"https://github.com/iory","followers_url":"https://api.github.com/users/iory/followers","following_url":"https://api.github.com/users/iory/following{/other_user}","gists_url":"https://api.github.com/users/iory/gists{/gist_id}","starred_url":"https://api.github.com/users/iory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iory/subscriptions","organizations_url":"https://api.github.com/users/iory/orgs","repos_url":"https://api.github.com/users/iory/repos","events_url":"https://api.github.com/users/iory/events{/privacy}","received_events_url":"https://api.github.com/users/iory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-22T05:14:20Z","updated_at":"2018-09-22T06:44:26Z","closed_at":null,"author_association":"NONE","body":"When we use identity with float-vector, following code returns wrong result.\r\n\r\n```\r\n(defun remove-nth (index seq)\r\n  (remove-if #'identity seq :start index :count 1))\r\n\r\n(setq seq (float-vector 0 1 2 3 4 5 6 7 8 9))\r\n(print (remove-nth 5 seq))\r\n;; => #f(0.0 1.0 2.0 3.0 4.0)\r\n(setq seq (list 0 1 2 3 4 5 6 7 8 9))\r\n(print (remove-nth 5 seq))\r\n;; => (0 1 2 3 4 6 7 8 9)\r\n```"},"comment":{"url":"https://api.github.com/repos/euslisp/EusLisp/issues/comments/423721664","html_url":"https://github.com/euslisp/EusLisp/issues/328#issuecomment-423721664","issue_url":"https://api.github.com/repos/euslisp/EusLisp/issues/328","id":423721664,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzcyMTY2NA==","user":{"login":"iory","id":4690682,"node_id":"MDQ6VXNlcjQ2OTA2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/4690682?v=4","gravatar_id":"","url":"https://api.github.com/users/iory","html_url":"https://github.com/iory","followers_url":"https://api.github.com/users/iory/followers","following_url":"https://api.github.com/users/iory/following{/other_user}","gists_url":"https://api.github.com/users/iory/gists{/gist_id}","starred_url":"https://api.github.com/users/iory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iory/subscriptions","organizations_url":"https://api.github.com/users/iory/orgs","repos_url":"https://api.github.com/users/iory/repos","events_url":"https://api.github.com/users/iory/events{/privacy}","received_events_url":"https://api.github.com/users/iory/received_events","type":"User","site_admin":false},"created_at":"2018-09-22T06:44:26Z","updated_at":"2018-09-22T06:44:26Z","author_association":"NONE","body":"I overlooked the issue and PR.\r\nThank you for your response.\r\n\r\n> This case, I doubt mapcar works with float-vector or sequence, it is expected to be used only with list.\r\n\r\nI see. ```mapcar``` supports only list."}}
{"actor":{"display_login":"iory"}}