{"action":"opened","number":85,"pull_request":{"url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls/85","id":47443374,"html_url":"https://github.com/JuliaStats/NullableArrays.jl/pull/85","diff_url":"https://github.com/JuliaStats/NullableArrays.jl/pull/85.diff","patch_url":"https://github.com/JuliaStats/NullableArrays.jl/pull/85.patch","issue_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/issues/85","number":85,"state":"open","locked":false,"title":"Allow operations mixing Nullable and scalar","user":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars.githubusercontent.com/u/1120448?v=3","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"body":"Makes `op(y::Nullable, x)` equivalent to `op(y, Nullable(x))`, but more efficient.\r\n\r\nI have played with the idea of actually defining `op(x::Nullable, y) = op(x, Nullable(y))`, hoping that the compiler would get rid of everything, but the generated code is awful.\r\n\r\nThe presence of ambiguities makes the code much longer than it needs to be. In particular, the ambiguous `<<` and `>>` in Base are only there to raise an error, and define something like an interface. We could imagine that with an improved support for traits they would no longer happen in some future release...","created_at":"2015-10-12T17:12:39Z","updated_at":"2015-10-12T17:12:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fe4d13ac7822c38e7b5aa65ff40bb431b458bc9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls/85/commits","review_comments_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls/85/comments","review_comment_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/issues/85/comments","statuses_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/statuses/8f6a8a137534fde1d60e298a242d8f54678b42cc","head":{"label":"nalimilan:scalarops","ref":"scalarops","sha":"8f6a8a137534fde1d60e298a242d8f54678b42cc","user":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars.githubusercontent.com/u/1120448?v=3","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"repo":{"id":44116680,"name":"NullableArrays.jl","full_name":"nalimilan/NullableArrays.jl","owner":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars.githubusercontent.com/u/1120448?v=3","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nalimilan/NullableArrays.jl","description":"Prototype of the new JuliaStats NullableArrays package","fork":true,"url":"https://api.github.com/repos/nalimilan/NullableArrays.jl","forks_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/forks","keys_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/teams","hooks_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/hooks","issue_events_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/issues/events{/number}","events_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/events","assignees_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/assignees{/user}","branches_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/branches{/branch}","tags_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/tags","blobs_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/languages","stargazers_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/stargazers","contributors_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/contributors","subscribers_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/subscribers","subscription_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/subscription","commits_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/contents/{+path}","compare_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/merges","archive_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/downloads","issues_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/issues{/number}","pulls_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/labels{/name}","releases_url":"https://api.github.com/repos/nalimilan/NullableArrays.jl/releases{/id}","created_at":"2015-10-12T15:33:38Z","updated_at":"2015-10-12T15:33:38Z","pushed_at":"2015-10-12T17:11:42Z","git_url":"git://github.com/nalimilan/NullableArrays.jl.git","ssh_url":"git@github.com:nalimilan/NullableArrays.jl.git","clone_url":"https://github.com/nalimilan/NullableArrays.jl.git","svn_url":"https://github.com/nalimilan/NullableArrays.jl","homepage":null,"size":214,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JuliaStats:master","ref":"master","sha":"6cf63d0d99da1323a0688992e6fcd7f69ef4ecee","user":{"login":"JuliaStats","id":2761531,"avatar_url":"https://avatars.githubusercontent.com/u/2761531?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaStats","html_url":"https://github.com/JuliaStats","followers_url":"https://api.github.com/users/JuliaStats/followers","following_url":"https://api.github.com/users/JuliaStats/following{/other_user}","gists_url":"https://api.github.com/users/JuliaStats/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaStats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaStats/subscriptions","organizations_url":"https://api.github.com/users/JuliaStats/orgs","repos_url":"https://api.github.com/users/JuliaStats/repos","events_url":"https://api.github.com/users/JuliaStats/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaStats/received_events","type":"Organization","site_admin":false},"repo":{"id":36910534,"name":"NullableArrays.jl","full_name":"JuliaStats/NullableArrays.jl","owner":{"login":"JuliaStats","id":2761531,"avatar_url":"https://avatars.githubusercontent.com/u/2761531?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaStats","html_url":"https://github.com/JuliaStats","followers_url":"https://api.github.com/users/JuliaStats/followers","following_url":"https://api.github.com/users/JuliaStats/following{/other_user}","gists_url":"https://api.github.com/users/JuliaStats/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaStats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaStats/subscriptions","organizations_url":"https://api.github.com/users/JuliaStats/orgs","repos_url":"https://api.github.com/users/JuliaStats/repos","events_url":"https://api.github.com/users/JuliaStats/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaStats/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaStats/NullableArrays.jl","description":"Prototype of the new JuliaStats NullableArrays package","fork":false,"url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl","forks_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/forks","keys_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/teams","hooks_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/events","assignees_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/tags","blobs_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/subscription","commits_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/merges","archive_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/downloads","issues_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/releases{/id}","created_at":"2015-06-05T03:48:58Z","updated_at":"2015-09-20T12:53:54Z","pushed_at":"2015-10-12T17:12:40Z","git_url":"git://github.com/JuliaStats/NullableArrays.jl.git","ssh_url":"git@github.com:JuliaStats/NullableArrays.jl.git","clone_url":"https://github.com/JuliaStats/NullableArrays.jl.git","svn_url":"https://github.com/JuliaStats/NullableArrays.jl","homepage":null,"size":747,"stargazers_count":12,"watchers_count":12,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":18,"forks":7,"open_issues":18,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls/85"},"html":{"href":"https://github.com/JuliaStats/NullableArrays.jl/pull/85"},"issue":{"href":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/issues/85"},"comments":{"href":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaStats/NullableArrays.jl/statuses/8f6a8a137534fde1d60e298a242d8f54678b42cc"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":84,"deletions":9,"changed_files":2}}