{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript/issues/1225","labels_url":"https://api.github.com/repos/purescript/purescript/issues/1225/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript/issues/1225/comments","events_url":"https://api.github.com/repos/purescript/purescript/issues/1225/events","html_url":"https://github.com/purescript/purescript/issues/1225","id":92916837,"number":1225,"title":"Wildcards with Tagged Unions and Fuctions","user":{"login":"user471","id":5988253,"avatar_url":"https://avatars.githubusercontent.com/u/5988253?v=3","gravatar_id":"","url":"https://api.github.com/users/user471","html_url":"https://github.com/user471","followers_url":"https://api.github.com/users/user471/followers","following_url":"https://api.github.com/users/user471/following{/other_user}","gists_url":"https://api.github.com/users/user471/gists{/gist_id}","starred_url":"https://api.github.com/users/user471/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/user471/subscriptions","organizations_url":"https://api.github.com/users/user471/orgs","repos_url":"https://api.github.com/users/user471/repos","events_url":"https://api.github.com/users/user471/events{/privacy}","received_events_url":"https://api.github.com/users/user471/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-07-03T17:58:06Z","updated_at":"2015-07-03T19:41:50Z","closed_at":null,"body":"    test f = f 1 \r\n\r\n    data Foo = Foo Int\r\n    x  = test $ Foo _ --unexpected Underscore\r\n\r\n    bar x y = x - y\r\n    y = test $ bar _ 2 --unexpected Underscore\r\n\r\nIs there a reason you cannot use wildcards in the same way as with the records or it is just not implemented?\r\n"},"comment":{"url":"https://api.github.com/repos/purescript/purescript/issues/comments/118412646","html_url":"https://github.com/purescript/purescript/issues/1225#issuecomment-118412646","issue_url":"https://api.github.com/repos/purescript/purescript/issues/1225","id":118412646,"user":{"login":"jdegoes","id":156745,"avatar_url":"https://avatars.githubusercontent.com/u/156745?v=3","gravatar_id":"","url":"https://api.github.com/users/jdegoes","html_url":"https://github.com/jdegoes","followers_url":"https://api.github.com/users/jdegoes/followers","following_url":"https://api.github.com/users/jdegoes/following{/other_user}","gists_url":"https://api.github.com/users/jdegoes/gists{/gist_id}","starred_url":"https://api.github.com/users/jdegoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdegoes/subscriptions","organizations_url":"https://api.github.com/users/jdegoes/orgs","repos_url":"https://api.github.com/users/jdegoes/repos","events_url":"https://api.github.com/users/jdegoes/events{/privacy}","received_events_url":"https://api.github.com/users/jdegoes/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T19:41:50Z","updated_at":"2015-07-03T19:41:50Z","body":"> And I can give a very simple meaning for each of those three, and I only have to look as far as the immediately surrounding {} to do so.\r\n\r\nYes, that's why I think the \"evilness\" of the present rules is fairly low, but it is syntax and that comes with all the usual caveats... I do *understand* the desire of people to avoid \"flip hell\" or local lambdas with common cases like \"foo _ bar baz\", but until someone proposes / implements a rule that's simpler and more predictable than Scala, this may be one of those cases where the solution is worse than the problem."}}