{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1631","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1631/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1631/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1631/events","html_url":"https://github.com/rust-lang/rfcs/issues/1631","id":156957675,"node_id":"MDU6SXNzdWUxNTY5NTc2NzU=","number":1631,"title":"Pure functions/effect system","user":{"login":"SoniEx2","id":1779619,"node_id":"MDQ6VXNlcjE3Nzk2MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/1779619?v=4","gravatar_id":"","url":"https://api.github.com/users/SoniEx2","html_url":"https://github.com/SoniEx2","followers_url":"https://api.github.com/users/SoniEx2/followers","following_url":"https://api.github.com/users/SoniEx2/following{/other_user}","gists_url":"https://api.github.com/users/SoniEx2/gists{/gist_id}","starred_url":"https://api.github.com/users/SoniEx2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoniEx2/subscriptions","organizations_url":"https://api.github.com/users/SoniEx2/orgs","repos_url":"https://api.github.com/users/SoniEx2/repos","events_url":"https://api.github.com/users/SoniEx2/events{/privacy}","received_events_url":"https://api.github.com/users/SoniEx2/received_events","type":"User","site_admin":false},"labels":[{"id":211667886,"node_id":"MDU6TGFiZWwyMTE2Njc4ODY=","url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-lang","name":"T-lang","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":50,"created_at":"2016-05-26T10:57:08Z","updated_at":"2018-07-18T17:01:33Z","closed_at":"2018-04-26T08:38:34Z","author_association":"NONE","body":"Can we get `pure fn` which would be a way to indicate a function has no side-effects/can only call other `pure fn`s?\n\nIt'd prohibit mutation of statics, pointers and references, and heap allocations. Traits would be able to demand `pure fn`s, which would be useful for getters.\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/406003548","html_url":"https://github.com/rust-lang/rfcs/issues/1631#issuecomment-406003548","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1631","id":406003548,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjAwMzU0OA==","user":{"login":"Serentty","id":614548,"node_id":"MDQ6VXNlcjYxNDU0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/614548?v=4","gravatar_id":"","url":"https://api.github.com/users/Serentty","html_url":"https://github.com/Serentty","followers_url":"https://api.github.com/users/Serentty/followers","following_url":"https://api.github.com/users/Serentty/following{/other_user}","gists_url":"https://api.github.com/users/Serentty/gists{/gist_id}","starred_url":"https://api.github.com/users/Serentty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Serentty/subscriptions","organizations_url":"https://api.github.com/users/Serentty/orgs","repos_url":"https://api.github.com/users/Serentty/repos","events_url":"https://api.github.com/users/Serentty/events{/privacy}","received_events_url":"https://api.github.com/users/Serentty/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T17:01:32Z","updated_at":"2018-07-18T17:01:32Z","author_association":"NONE","body":"@SoniEx2 \r\nThe language has absolutely no way to know if the function is pure or not if it's remote. Also, the odds of a network failure are quite high compared to a local failure, so the odds of the assumption of purity being violated become unacceptably high."}}
{"actor":{"display_login":"Serentty"}}