{"action":"opened","issue":{"url":"https://api.github.com/repos/goldfirere/singletons/issues/113","labels_url":"https://api.github.com/repos/goldfirere/singletons/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/goldfirere/singletons/issues/113/comments","events_url":"https://api.github.com/repos/goldfirere/singletons/issues/113/events","html_url":"https://github.com/goldfirere/singletons/issues/113","id":67401905,"number":113,"title":"Figure out how match flattening affects us","user":{"login":"goldfirere","id":1958003,"avatar_url":"https://avatars.githubusercontent.com/u/1958003?v=3","gravatar_id":"","url":"https://api.github.com/users/goldfirere","html_url":"https://github.com/goldfirere","followers_url":"https://api.github.com/users/goldfirere/followers","following_url":"https://api.github.com/users/goldfirere/following{/other_user}","gists_url":"https://api.github.com/users/goldfirere/gists{/gist_id}","starred_url":"https://api.github.com/users/goldfirere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldfirere/subscriptions","organizations_url":"https://api.github.com/users/goldfirere/orgs","repos_url":"https://api.github.com/users/goldfirere/repos","events_url":"https://api.github.com/users/goldfirere/events{/privacy}","received_events_url":"https://api.github.com/users/goldfirere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-09T16:40:30Z","updated_at":"2015-04-09T16:40:30Z","closed_at":null,"body":"In the `master` branch, all pattern-matches are \"flattened\" before further processing. This is done from `scLetDec` in `squashWildcards`, called in `singTopLevelDecs`. This is a drastic change, meaning that no patterns are overlapped anymore. How is this change affecting us? Is the code bloat truly terrible? How are compilation times? Pattern-match flattening allows some nice things -- in particular, it allows singletonization of functions with overlapping patterns. But is the cost too high? If the cost is high, is there a way to detect when match flattening is a good idea? Should we ask the user for assistance?"}}