purescript/purescript — pull request #418 by paf31 (2014-05-15 04:59:05+00:00)
Title: Change code gen for case statements to enable TCO

Instead of

```
return (function(a, b, c) {
// cases ...
})(foo, bar, baz);
```

this generates

```
return (function() {
var a = foo;
var b = bar;
var c = baz;
// cases ...
})();
```

This enables the inliner which in turns allows TCO to run.