{"action":"created","comment":{"url":"https://api.github.com/repos/ambiata/icicle/pulls/comments/62450002","id":62450002,"diff_hunk":"@@ -165,6 +165,8 @@ seaOfPrimArray p\n       -> PDAlloc (prefixOfValType (ArrayT t) <> \"put_immutable\") Nothing\n      PrimArraySwap t\n       -> PDFun   (prefixOfValType (ArrayT t) <> \"swap\") Nothing\n+     PrimArrayDel t\n+      -> PDFun   (prefixOfValType (ArrayT t) <> \"delete\") Nothing","path":"src/Icicle/Sea/FromAvalanche/Prim.hs","position":5,"original_position":5,"commit_id":"5c5c0e22b4fd5722371f4f660c234559c6b276b0","original_commit_id":"5c5c0e22b4fd5722371f4f660c234559c6b276b0","user":{"login":"tranma","id":235039,"avatar_url":"https://avatars.githubusercontent.com/u/235039?v=3","gravatar_id":"","url":"https://api.github.com/users/tranma","html_url":"https://github.com/tranma","followers_url":"https://api.github.com/users/tranma/followers","following_url":"https://api.github.com/users/tranma/following{/other_user}","gists_url":"https://api.github.com/users/tranma/gists{/gist_id}","starred_url":"https://api.github.com/users/tranma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranma/subscriptions","organizations_url":"https://api.github.com/users/tranma/orgs","repos_url":"https://api.github.com/users/tranma/repos","events_url":"https://api.github.com/users/tranma/events{/privacy}","received_events_url":"https://api.github.com/users/tranma/received_events","type":"User","site_admin":false},"body":"hm, I would prefer `put_immutable` to be the default like it currently is though. Just in case the mutation recovery is incorrect. If `mutable` is the default and we try to find places where we should not mutate, it's a bit more scary.","created_at":"2016-05-09T04:45:18Z","updated_at":"2016-05-09T04:45:18Z","html_url":"https://github.com/ambiata/icicle/pull/391#discussion_r62450002","pull_request_url":"https://api.github.com/repos/ambiata/icicle/pulls/391","_links":{"self":{"href":"https://api.github.com/repos/ambiata/icicle/pulls/comments/62450002"},"html":{"href":"https://github.com/ambiata/icicle/pull/391#discussion_r62450002"},"pull_request":{"href":"https://api.github.com/repos/ambiata/icicle/pulls/391"}}},"pull_request":{"url":"https://api.github.com/repos/ambiata/icicle/pulls/391","id":69292884,"html_url":"https://github.com/ambiata/icicle/pull/391","diff_url":"https://github.com/ambiata/icicle/pull/391.diff","patch_url":"https://github.com/ambiata/icicle/pull/391.patch","issue_url":"https://api.github.com/repos/ambiata/icicle/issues/391","number":391,"state":"open","locked":false,"title":"Even more savage builtins","user":{"login":"tranma","id":235039,"avatar_url":"https://avatars.githubusercontent.com/u/235039?v=3","gravatar_id":"","url":"https://api.github.com/users/tranma","html_url":"https://github.com/tranma","followers_url":"https://api.github.com/users/tranma/followers","following_url":"https://api.github.com/users/tranma/following{/other_user}","gists_url":"https://api.github.com/users/tranma/gists{/gist_id}","starred_url":"https://api.github.com/users/tranma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranma/subscriptions","organizations_url":"https://api.github.com/users/tranma/orgs","repos_url":"https://api.github.com/users/tranma/repos","events_url":"https://api.github.com/users/tranma/events{/privacy}","received_events_url":"https://api.github.com/users/tranma/received_events","type":"User","site_admin":false},"body":"Some baked-in map and array Source \"data types\", to make queries like `days spent in some state` and `quantiles` possible.\r\n\r\n`now` is now `Pure`.","created_at":"2016-05-09T03:53:55Z","updated_at":"2016-05-09T04:45:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b513f775cfb3e9e53c0e94279de959e8ba951c88","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ambiata/icicle/pulls/391/commits","review_comments_url":"https://api.github.com/repos/ambiata/icicle/pulls/391/comments","review_comment_url":"https://api.github.com/repos/ambiata/icicle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ambiata/icicle/issues/391/comments","statuses_url":"https://api.github.com/repos/ambiata/icicle/statuses/5c5c0e22b4fd5722371f4f660c234559c6b276b0","head":{"label":"ambiata:topic/more-builtin","ref":"topic/more-builtin","sha":"5c5c0e22b4fd5722371f4f660c234559c6b276b0","user":{"login":"ambiata","id":1691023,"avatar_url":"https://avatars.githubusercontent.com/u/1691023?v=3","gravatar_id":"","url":"https://api.github.com/users/ambiata","html_url":"https://github.com/ambiata","followers_url":"https://api.github.com/users/ambiata/followers","following_url":"https://api.github.com/users/ambiata/following{/other_user}","gists_url":"https://api.github.com/users/ambiata/gists{/gist_id}","starred_url":"https://api.github.com/users/ambiata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambiata/subscriptions","organizations_url":"https://api.github.com/users/ambiata/orgs","repos_url":"https://api.github.com/users/ambiata/repos","events_url":"https://api.github.com/users/ambiata/events{/privacy}","received_events_url":"https://api.github.com/users/ambiata/received_events","type":"Organization","site_admin":false},"repo":{"id":33146693,"name":"icicle","full_name":"ambiata/icicle","owner":{"login":"ambiata","id":1691023,"avatar_url":"https://avatars.githubusercontent.com/u/1691023?v=3","gravatar_id":"","url":"https://api.github.com/users/ambiata","html_url":"https://github.com/ambiata","followers_url":"https://api.github.com/users/ambiata/followers","following_url":"https://api.github.com/users/ambiata/following{/other_user}","gists_url":"https://api.github.com/users/ambiata/gists{/gist_id}","starred_url":"https://api.github.com/users/ambiata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambiata/subscriptions","organizations_url":"https://api.github.com/users/ambiata/orgs","repos_url":"https://api.github.com/users/ambiata/repos","events_url":"https://api.github.com/users/ambiata/events{/privacy}","received_events_url":"https://api.github.com/users/ambiata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ambiata/icicle","description":"A streaming query language.","fork":false,"url":"https://api.github.com/repos/ambiata/icicle","forks_url":"https://api.github.com/repos/ambiata/icicle/forks","keys_url":"https://api.github.com/repos/ambiata/icicle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ambiata/icicle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ambiata/icicle/teams","hooks_url":"https://api.github.com/repos/ambiata/icicle/hooks","issue_events_url":"https://api.github.com/repos/ambiata/icicle/issues/events{/number}","events_url":"https://api.github.com/repos/ambiata/icicle/events","assignees_url":"https://api.github.com/repos/ambiata/icicle/assignees{/user}","branches_url":"https://api.github.com/repos/ambiata/icicle/branches{/branch}","tags_url":"https://api.github.com/repos/ambiata/icicle/tags","blobs_url":"https://api.github.com/repos/ambiata/icicle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ambiata/icicle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ambiata/icicle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ambiata/icicle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ambiata/icicle/statuses/{sha}","languages_url":"https://api.github.com/repos/ambiata/icicle/languages","stargazers_url":"https://api.github.com/repos/ambiata/icicle/stargazers","contributors_url":"https://api.github.com/repos/ambiata/icicle/contributors","subscribers_url":"https://api.github.com/repos/ambiata/icicle/subscribers","subscription_url":"https://api.github.com/repos/ambiata/icicle/subscription","commits_url":"https://api.github.com/repos/ambiata/icicle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ambiata/icicle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ambiata/icicle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ambiata/icicle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ambiata/icicle/contents/{+path}","compare_url":"https://api.github.com/repos/ambiata/icicle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ambiata/icicle/merges","archive_url":"https://api.github.com/repos/ambiata/icicle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ambiata/icicle/downloads","issues_url":"https://api.github.com/repos/ambiata/icicle/issues{/number}","pulls_url":"https://api.github.com/repos/ambiata/icicle/pulls{/number}","milestones_url":"https://api.github.com/repos/ambiata/icicle/milestones{/number}","notifications_url":"https://api.github.com/repos/ambiata/icicle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ambiata/icicle/labels{/name}","releases_url":"https://api.github.com/repos/ambiata/icicle/releases{/id}","deployments_url":"https://api.github.com/repos/ambiata/icicle/deployments","created_at":"2015-03-30T20:37:02Z","updated_at":"2016-02-21T08:05:14Z","pushed_at":"2016-05-09T04:15:12Z","git_url":"git://github.com/ambiata/icicle.git","ssh_url":"git@github.com:ambiata/icicle.git","clone_url":"https://github.com/ambiata/icicle.git","svn_url":"https://github.com/ambiata/icicle","homepage":null,"size":12393,"stargazers_count":9,"watchers_count":9,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":32,"forks":1,"open_issues":32,"watchers":9,"default_branch":"master"}},"base":{"label":"ambiata:master","ref":"master","sha":"dd16076b1fc8b8d609abfbe14348b2e5508ba970","user":{"login":"ambiata","id":1691023,"avatar_url":"https://avatars.githubusercontent.com/u/1691023?v=3","gravatar_id":"","url":"https://api.github.com/users/ambiata","html_url":"https://github.com/ambiata","followers_url":"https://api.github.com/users/ambiata/followers","following_url":"https://api.github.com/users/ambiata/following{/other_user}","gists_url":"https://api.github.com/users/ambiata/gists{/gist_id}","starred_url":"https://api.github.com/users/ambiata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambiata/subscriptions","organizations_url":"https://api.github.com/users/ambiata/orgs","repos_url":"https://api.github.com/users/ambiata/repos","events_url":"https://api.github.com/users/ambiata/events{/privacy}","received_events_url":"https://api.github.com/users/ambiata/received_events","type":"Organization","site_admin":false},"repo":{"id":33146693,"name":"icicle","full_name":"ambiata/icicle","owner":{"login":"ambiata","id":1691023,"avatar_url":"https://avatars.githubusercontent.com/u/1691023?v=3","gravatar_id":"","url":"https://api.github.com/users/ambiata","html_url":"https://github.com/ambiata","followers_url":"https://api.github.com/users/ambiata/followers","following_url":"https://api.github.com/users/ambiata/following{/other_user}","gists_url":"https://api.github.com/users/ambiata/gists{/gist_id}","starred_url":"https://api.github.com/users/ambiata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambiata/subscriptions","organizations_url":"https://api.github.com/users/ambiata/orgs","repos_url":"https://api.github.com/users/ambiata/repos","events_url":"https://api.github.com/users/ambiata/events{/privacy}","received_events_url":"https://api.github.com/users/ambiata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ambiata/icicle","description":"A streaming query language.","fork":false,"url":"https://api.github.com/repos/ambiata/icicle","forks_url":"https://api.github.com/repos/ambiata/icicle/forks","keys_url":"https://api.github.com/repos/ambiata/icicle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ambiata/icicle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ambiata/icicle/teams","hooks_url":"https://api.github.com/repos/ambiata/icicle/hooks","issue_events_url":"https://api.github.com/repos/ambiata/icicle/issues/events{/number}","events_url":"https://api.github.com/repos/ambiata/icicle/events","assignees_url":"https://api.github.com/repos/ambiata/icicle/assignees{/user}","branches_url":"https://api.github.com/repos/ambiata/icicle/branches{/branch}","tags_url":"https://api.github.com/repos/ambiata/icicle/tags","blobs_url":"https://api.github.com/repos/ambiata/icicle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ambiata/icicle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ambiata/icicle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ambiata/icicle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ambiata/icicle/statuses/{sha}","languages_url":"https://api.github.com/repos/ambiata/icicle/languages","stargazers_url":"https://api.github.com/repos/ambiata/icicle/stargazers","contributors_url":"https://api.github.com/repos/ambiata/icicle/contributors","subscribers_url":"https://api.github.com/repos/ambiata/icicle/subscribers","subscription_url":"https://api.github.com/repos/ambiata/icicle/subscription","commits_url":"https://api.github.com/repos/ambiata/icicle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ambiata/icicle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ambiata/icicle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ambiata/icicle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ambiata/icicle/contents/{+path}","compare_url":"https://api.github.com/repos/ambiata/icicle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ambiata/icicle/merges","archive_url":"https://api.github.com/repos/ambiata/icicle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ambiata/icicle/downloads","issues_url":"https://api.github.com/repos/ambiata/icicle/issues{/number}","pulls_url":"https://api.github.com/repos/ambiata/icicle/pulls{/number}","milestones_url":"https://api.github.com/repos/ambiata/icicle/milestones{/number}","notifications_url":"https://api.github.com/repos/ambiata/icicle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ambiata/icicle/labels{/name}","releases_url":"https://api.github.com/repos/ambiata/icicle/releases{/id}","deployments_url":"https://api.github.com/repos/ambiata/icicle/deployments","created_at":"2015-03-30T20:37:02Z","updated_at":"2016-02-21T08:05:14Z","pushed_at":"2016-05-09T04:15:12Z","git_url":"git://github.com/ambiata/icicle.git","ssh_url":"git@github.com:ambiata/icicle.git","clone_url":"https://github.com/ambiata/icicle.git","svn_url":"https://github.com/ambiata/icicle","homepage":null,"size":12393,"stargazers_count":9,"watchers_count":9,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":32,"forks":1,"open_issues":32,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ambiata/icicle/pulls/391"},"html":{"href":"https://github.com/ambiata/icicle/pull/391"},"issue":{"href":"https://api.github.com/repos/ambiata/icicle/issues/391"},"comments":{"href":"https://api.github.com/repos/ambiata/icicle/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/ambiata/icicle/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/ambiata/icicle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ambiata/icicle/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/ambiata/icicle/statuses/5c5c0e22b4fd5722371f4f660c234559c6b276b0"}}}}