{"action":"created","issue":{"url":"https://api.github.com/repos/mindeavor/es-pipeline-operator/issues/23","labels_url":"https://api.github.com/repos/mindeavor/es-pipeline-operator/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/mindeavor/es-pipeline-operator/issues/23/comments","events_url":"https://api.github.com/repos/mindeavor/es-pipeline-operator/issues/23/events","html_url":"https://github.com/mindeavor/es-pipeline-operator/issues/23","id":121783963,"number":23,"title":"Operator Precedence - Higher or Lowest?","user":{"login":"mindeavor","id":17013,"avatar_url":"https://avatars.githubusercontent.com/u/17013?v=3","gravatar_id":"","url":"https://api.github.com/users/mindeavor","html_url":"https://github.com/mindeavor","followers_url":"https://api.github.com/users/mindeavor/followers","following_url":"https://api.github.com/users/mindeavor/following{/other_user}","gists_url":"https://api.github.com/users/mindeavor/gists{/gist_id}","starred_url":"https://api.github.com/users/mindeavor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindeavor/subscriptions","organizations_url":"https://api.github.com/users/mindeavor/orgs","repos_url":"https://api.github.com/users/mindeavor/repos","events_url":"https://api.github.com/users/mindeavor/events{/privacy}","received_events_url":"https://api.github.com/users/mindeavor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-12-11T20:15:47Z","updated_at":"2015-12-15T01:40:13Z","closed_at":null,"body":"At first I imagined the pipeline operator to be the lowest precedence, but now that [the question has been raised](https://github.com/mindeavor/babel/commit/fc1a9821779379d82174079fdc3315136d1d9208#commitcomment-14933745), I'm wondering – should it instead have higher precedence?\r\n\r\n```js\r\nobj.x || defaults.x |> process\r\n//\r\n// With lowest precedence:\r\n//    process(obj.x || defaults.x)\r\n//\r\n// With higher precedence:\r\n//    obj.x || process(defaults.x)\r\n//\r\n\r\narg |> m.f || m.g |> h\r\n//\r\n// With lowest precedence:\r\n//    h( (m.f || m.g)(arg) )\r\n//\r\n// With higher precedence:\r\n//    m.f(arg) || m.g()\r\n//\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mindeavor/es-pipeline-operator/issues/comments/164614276","html_url":"https://github.com/mindeavor/es-pipeline-operator/issues/23#issuecomment-164614276","issue_url":"https://api.github.com/repos/mindeavor/es-pipeline-operator/issues/23","id":164614276,"user":{"login":"pygy","id":54515,"avatar_url":"https://avatars.githubusercontent.com/u/54515?v=3","gravatar_id":"","url":"https://api.github.com/users/pygy","html_url":"https://github.com/pygy","followers_url":"https://api.github.com/users/pygy/followers","following_url":"https://api.github.com/users/pygy/following{/other_user}","gists_url":"https://api.github.com/users/pygy/gists{/gist_id}","starred_url":"https://api.github.com/users/pygy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pygy/subscriptions","organizations_url":"https://api.github.com/users/pygy/orgs","repos_url":"https://api.github.com/users/pygy/repos","events_url":"https://api.github.com/users/pygy/events{/privacy}","received_events_url":"https://api.github.com/users/pygy/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T01:40:13Z","updated_at":"2015-12-15T01:40:13Z","body":"Taking the precedence of `=>` into account is indeed crucial. If it is so low, then we need `|>` to be even lower, indeed."}}