-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
component: compilerConcerning the compilerConcerning the compilermeta: triagedHas the issue been triaged yet?Has the issue been triaged yet?skill: mercurystatus: acceptedA bug we intend to fix it.A bug we intend to fix it.type: bug
Milestone
Description
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.
Metadata
Metadata
Assignees
Labels
component: compilerConcerning the compilerConcerning the compilermeta: triagedHas the issue been triaged yet?Has the issue been triaged yet?skill: mercurystatus: acceptedA bug we intend to fix it.A bug we intend to fix it.type: bug