{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/sweet.js/issues/477","labels_url":"https://api.github.com/repos/mozilla/sweet.js/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/sweet.js/issues/477/comments","events_url":"https://api.github.com/repos/mozilla/sweet.js/issues/477/events","html_url":"https://github.com/mozilla/sweet.js/issues/477","id":89754838,"number":477,"title":"How to match ( in a pattern?","user":{"login":"mehdishojaei","id":2007598,"avatar_url":"https://avatars.githubusercontent.com/u/2007598?v=3","gravatar_id":"","url":"https://api.github.com/users/mehdishojaei","html_url":"https://github.com/mehdishojaei","followers_url":"https://api.github.com/users/mehdishojaei/followers","following_url":"https://api.github.com/users/mehdishojaei/following{/other_user}","gists_url":"https://api.github.com/users/mehdishojaei/gists{/gist_id}","starred_url":"https://api.github.com/users/mehdishojaei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehdishojaei/subscriptions","organizations_url":"https://api.github.com/users/mehdishojaei/orgs","repos_url":"https://api.github.com/users/mehdishojaei/repos","events_url":"https://api.github.com/users/mehdishojaei/events{/privacy}","received_events_url":"https://api.github.com/users/mehdishojaei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-20T11:04:07Z","updated_at":"2015-06-20T11:05:28Z","closed_at":null,"body":"I want to define ES2015 Spreads as an infix macro, something like:\r\n```js\r\nmacro ... {\r\n    case infix { $name ( | _ $arr:expr ) } => {\r\n        return #{\r\n            $name.apply(undefined, $arr)\r\n        };\r\n    }\r\n}\r\n\r\nvar n = sum(...[1, 2, 3]);\r\n```\r\n```terminal\r\nSyntaxError: [syntaxCase] Infix macros require a `|` separator\r\n2:     case infix { $name ( | _ $arr:expr ) } => {\r\n                  ^\r\n```\r\nIs it possible?"},"comment":{"url":"https://api.github.com/repos/mozilla/sweet.js/issues/comments/113746392","html_url":"https://github.com/mozilla/sweet.js/issues/477#issuecomment-113746392","issue_url":"https://api.github.com/repos/mozilla/sweet.js/issues/477","id":113746392,"user":{"login":"vendethiel","id":199499,"avatar_url":"https://avatars.githubusercontent.com/u/199499?v=3","gravatar_id":"","url":"https://api.github.com/users/vendethiel","html_url":"https://github.com/vendethiel","followers_url":"https://api.github.com/users/vendethiel/followers","following_url":"https://api.github.com/users/vendethiel/following{/other_user}","gists_url":"https://api.github.com/users/vendethiel/gists{/gist_id}","starred_url":"https://api.github.com/users/vendethiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vendethiel/subscriptions","organizations_url":"https://api.github.com/users/vendethiel/orgs","repos_url":"https://api.github.com/users/vendethiel/repos","events_url":"https://api.github.com/users/vendethiel/events{/privacy}","received_events_url":"https://api.github.com/users/vendethiel/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T11:05:28Z","updated_at":"2015-06-20T11:05:28Z","body":"you should be able to use `$[(]`"}}