{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1582","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1582/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1582/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1582/events","html_url":"https://github.com/rust-lang/rfcs/pull/1582","id":148923491,"number":1582,"title":"Add tuple cons cell syntax","user":{"login":"canndrew","id":5555066,"avatar_url":"https://avatars.githubusercontent.com/u/5555066?v=3","gravatar_id":"","url":"https://api.github.com/users/canndrew","html_url":"https://github.com/canndrew","followers_url":"https://api.github.com/users/canndrew/followers","following_url":"https://api.github.com/users/canndrew/following{/other_user}","gists_url":"https://api.github.com/users/canndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/canndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canndrew/subscriptions","organizations_url":"https://api.github.com/users/canndrew/orgs","repos_url":"https://api.github.com/users/canndrew/repos","events_url":"https://api.github.com/users/canndrew/events{/privacy}","received_events_url":"https://api.github.com/users/canndrew/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-lang","name":"T-lang","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"comments":54,"created_at":"2016-04-17T06:17:49Z","updated_at":"2016-06-07T02:08:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1582","html_url":"https://github.com/rust-lang/rfcs/pull/1582","diff_url":"https://github.com/rust-lang/rfcs/pull/1582.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1582.patch"},"body":"Add syntax for expressing tuples as a head and tail pair, similar to a Lisp cons cell.\r\n\r\n[Rendered](https://github.com/canndrew/rfcs/blob/tuple-cons-cell/text/0000-tuple-cons-cell.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/224144404","html_url":"https://github.com/rust-lang/rfcs/pull/1582#issuecomment-224144404","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1582","id":224144404,"user":{"login":"Chaser53","id":3535921,"avatar_url":"https://avatars.githubusercontent.com/u/3535921?v=3","gravatar_id":"","url":"https://api.github.com/users/Chaser53","html_url":"https://github.com/Chaser53","followers_url":"https://api.github.com/users/Chaser53/followers","following_url":"https://api.github.com/users/Chaser53/following{/other_user}","gists_url":"https://api.github.com/users/Chaser53/gists{/gist_id}","starred_url":"https://api.github.com/users/Chaser53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chaser53/subscriptions","organizations_url":"https://api.github.com/users/Chaser53/orgs","repos_url":"https://api.github.com/users/Chaser53/repos","events_url":"https://api.github.com/users/Chaser53/events{/privacy}","received_events_url":"https://api.github.com/users/Chaser53/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T02:08:27Z","updated_at":"2016-06-07T02:08:27Z","body":"@camlorn \r\nApologies, the jargon isn't necessarily my strong suit. I believe the more correct term is thunking.\r\n\r\nI am trying to write a wrapper for a language similar to Smalltalk that already has the runtime library in C. It uses a few calls similar to `objc_msgsend(id obj, sel s, ...)` in the Objective-C runtime, and it actually acts in a very similar way. It is defined in a C header file but the implementation had to be done at assembly level. \r\n\r\nFrom what I understand, since this will allow tuple expansion, we can expand the tuple_type to do the transmutation and expand the tuple values to pass them in as args.\r\n\r\nThen again, I may be completely wrong about how this would interoperate with C if it is added."}}
{"actor":{"display_login":"Chaser53"}}