{"action":"created","issue":{"url":"https://api.github.com/repos/plaid/sanctuary/issues/12","labels_url":"https://api.github.com/repos/plaid/sanctuary/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/plaid/sanctuary/issues/12/comments","events_url":"https://api.github.com/repos/plaid/sanctuary/issues/12/events","html_url":"https://github.com/plaid/sanctuary/pull/12","id":60459552,"number":12,"title":"control: add S.match","user":{"login":"davidchambers","id":210406,"avatar_url":"https://avatars.githubusercontent.com/u/210406?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchambers","html_url":"https://github.com/davidchambers","followers_url":"https://api.github.com/users/davidchambers/followers","following_url":"https://api.github.com/users/davidchambers/following{/other_user}","gists_url":"https://api.github.com/users/davidchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchambers/subscriptions","organizations_url":"https://api.github.com/users/davidchambers/orgs","repos_url":"https://api.github.com/users/davidchambers/repos","events_url":"https://api.github.com/users/davidchambers/events{/privacy}","received_events_url":"https://api.github.com/users/davidchambers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-10T07:10:18Z","updated_at":"2015-03-10T13:58:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/plaid/sanctuary/pulls/12","html_url":"https://github.com/plaid/sanctuary/pull/12","diff_url":"https://github.com/plaid/sanctuary/pull/12.diff","patch_url":"https://github.com/plaid/sanctuary/pull/12.patch"},"body":"This is a slight variation on the function proposed in ramda/ramda#797. I realized that a special `_` value is unnecessary unless one wishes to accept `null` and `undefined`, since `Object` matches every other value. I also decided to support types which do not implement `expose`, though I'm not convinced this is a good idea.\r\n\r\nI'm very keen to hear what others think of this idea in general and the approach I've taken specifically.\r\n"},"comment":{"url":"https://api.github.com/repos/plaid/sanctuary/issues/comments/78057594","html_url":"https://github.com/plaid/sanctuary/pull/12#issuecomment-78057594","issue_url":"https://api.github.com/repos/plaid/sanctuary/issues/12","id":78057594,"user":{"login":"buzzdecafe","id":716260,"avatar_url":"https://avatars.githubusercontent.com/u/716260?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzdecafe","html_url":"https://github.com/buzzdecafe","followers_url":"https://api.github.com/users/buzzdecafe/followers","following_url":"https://api.github.com/users/buzzdecafe/following{/other_user}","gists_url":"https://api.github.com/users/buzzdecafe/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzdecafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzdecafe/subscriptions","organizations_url":"https://api.github.com/users/buzzdecafe/orgs","repos_url":"https://api.github.com/users/buzzdecafe/repos","events_url":"https://api.github.com/users/buzzdecafe/events{/privacy}","received_events_url":"https://api.github.com/users/buzzdecafe/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T13:58:01Z","updated_at":"2015-03-10T13:58:01Z","body":"> I'm still not enamored of the notion of matching only on types. I really prefer a more general pattern-matching mechanism.\r\n\r\nbut as long as you are restricting yourself to that, then get some bang for your buck, and let the matching/satisfaction run in both directions. But maybe that is just my little hobby horse"}}