{"action":"created","issue":{"url":"https://api.github.com/repos/gap-system/gap/issues/774","repository_url":"https://api.github.com/repos/gap-system/gap","labels_url":"https://api.github.com/repos/gap-system/gap/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/gap-system/gap/issues/774/comments","events_url":"https://api.github.com/repos/gap-system/gap/issues/774/events","html_url":"https://github.com/gap-system/gap/pull/774","id":152534730,"number":774,"title":"Add methods for Intersection2 with empty list as parameter","user":{"login":"markuspf","id":3589190,"avatar_url":"https://avatars.githubusercontent.com/u/3589190?v=3","gravatar_id":"","url":"https://api.github.com/users/markuspf","html_url":"https://github.com/markuspf","followers_url":"https://api.github.com/users/markuspf/followers","following_url":"https://api.github.com/users/markuspf/following{/other_user}","gists_url":"https://api.github.com/users/markuspf/gists{/gist_id}","starred_url":"https://api.github.com/users/markuspf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markuspf/subscriptions","organizations_url":"https://api.github.com/users/markuspf/orgs","repos_url":"https://api.github.com/users/markuspf/repos","events_url":"https://api.github.com/users/markuspf/events{/privacy}","received_events_url":"https://api.github.com/users/markuspf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-02T11:20:13Z","updated_at":"2016-05-03T12:46:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gap-system/gap/pulls/774","html_url":"https://github.com/gap-system/gap/pull/774","diff_url":"https://github.com/gap-system/gap/pull/774.diff","patch_url":"https://github.com/gap-system/gap/pull/774.patch"},"body":"This is a fix for #773."},"comment":{"url":"https://api.github.com/repos/gap-system/gap/issues/comments/216516325","html_url":"https://github.com/gap-system/gap/pull/774#issuecomment-216516325","issue_url":"https://api.github.com/repos/gap-system/gap/issues/774","id":216516325,"user":{"login":"markuspf","id":3589190,"avatar_url":"https://avatars.githubusercontent.com/u/3589190?v=3","gravatar_id":"","url":"https://api.github.com/users/markuspf","html_url":"https://github.com/markuspf","followers_url":"https://api.github.com/users/markuspf/followers","following_url":"https://api.github.com/users/markuspf/following{/other_user}","gists_url":"https://api.github.com/users/markuspf/gists{/gist_id}","starred_url":"https://api.github.com/users/markuspf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markuspf/subscriptions","organizations_url":"https://api.github.com/users/markuspf/orgs","repos_url":"https://api.github.com/users/markuspf/repos","events_url":"https://api.github.com/users/markuspf/events{/privacy}","received_events_url":"https://api.github.com/users/markuspf/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T12:46:36Z","updated_at":"2016-05-03T12:46:36Z","body":"The empty list is *not* a collection, which is why the whole mess occurs. As @stevelinton puts it: The empty list doesn't know which type of object it doesn't contain any of. \r\n\r\nHence I special case on IsEmpty (and IsListOrCollection is more general). I can add `IsNotIdenticalObj`, but I don't know whether that gains anything \r\n\r\n(fun fact: `IsNotIdenticalObj([],[])` returns `true` ;))."}}