Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Support mutually-recursive closures #177
Add support for mutually-recursive closures.
There are various ways to implement closures, some are naive (nested) and some are more optimal (https://www.cs.indiana.edu/~dyb/pubs/closureopt.pdf and others). I think that we're going to need to pass them through at least the pre stage as letrecs and possibly into the core stage for optimisation.