{"action":"created","issue":{"url":"https://api.github.com/repos/racket/typed-racket/issues/448","repository_url":"https://api.github.com/repos/racket/typed-racket","labels_url":"https://api.github.com/repos/racket/typed-racket/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/racket/typed-racket/issues/448/comments","events_url":"https://api.github.com/repos/racket/typed-racket/issues/448/events","html_url":"https://github.com/racket/typed-racket/pull/448","id":185195183,"number":448,"title":"fix intersect, make it (hopefully) commutative","user":{"login":"pnwamk","id":3662058,"avatar_url":"https://avatars.githubusercontent.com/u/3662058?v=3","gravatar_id":"","url":"https://api.github.com/users/pnwamk","html_url":"https://github.com/pnwamk","followers_url":"https://api.github.com/users/pnwamk/followers","following_url":"https://api.github.com/users/pnwamk/following{/other_user}","gists_url":"https://api.github.com/users/pnwamk/gists{/gist_id}","starred_url":"https://api.github.com/users/pnwamk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnwamk/subscriptions","organizations_url":"https://api.github.com/users/pnwamk/orgs","repos_url":"https://api.github.com/users/pnwamk/repos","events_url":"https://api.github.com/users/pnwamk/events{/privacy}","received_events_url":"https://api.github.com/users/pnwamk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-25T18:21:26Z","updated_at":"2016-10-25T19:02:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/racket/typed-racket/pulls/448","html_url":"https://github.com/racket/typed-racket/pull/448","diff_url":"https://github.com/racket/typed-racket/pull/448.diff","patch_url":"https://github.com/racket/typed-racket/pull/448.patch"},"body":"These changes attempt to make computing type intersections a more commutative operation."},"comment":{"url":"https://api.github.com/repos/racket/typed-racket/issues/comments/256143231","html_url":"https://github.com/racket/typed-racket/pull/448#issuecomment-256143231","issue_url":"https://api.github.com/repos/racket/typed-racket/issues/448","id":256143231,"user":{"login":"pnwamk","id":3662058,"avatar_url":"https://avatars.githubusercontent.com/u/3662058?v=3","gravatar_id":"","url":"https://api.github.com/users/pnwamk","html_url":"https://github.com/pnwamk","followers_url":"https://api.github.com/users/pnwamk/followers","following_url":"https://api.github.com/users/pnwamk/following{/other_user}","gists_url":"https://api.github.com/users/pnwamk/gists{/gist_id}","starred_url":"https://api.github.com/users/pnwamk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnwamk/subscriptions","organizations_url":"https://api.github.com/users/pnwamk/orgs","repos_url":"https://api.github.com/users/pnwamk/repos","events_url":"https://api.github.com/users/pnwamk/events{/privacy}","received_events_url":"https://api.github.com/users/pnwamk/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T19:02:36Z","updated_at":"2016-10-25T19:02:36Z","body":"The two main differences are as follows:\r\n\r\n1. When we're intersecting two unions, we do so by intersecting their cartesian product from the start (this produces more consistent outputs which are not order dependent).\r\n\r\n2. Previously ```intersect``` tried to build a more specific recursive type only when we were intersecting two μ-types. This has been expanded to include all types which can be recursive (i.e. μ's, Names, and Apps) and there is a little bit of back-channeling to report whether or not a recursive type is actually required.\r\n\r\nI tried to add comments describing all of the new behavior (since w/o comments the 'why' we're doing it that way would clearly not be apparent).\r\n"}}
{"actor":{"display_login":"pnwamk"}}