Last active
August 29, 2015 14:04
-
-
Save devyn/c36ba0c2d1861f9785b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
infrastructure execution stage[] | |
[infrastructure affix[] [locals]] [infrastructure empty[]]; | |
infrastructure execution stage[] | |
[infrastructure set[] | |
[infrastructure get[] [locals] [infrastructure length[] [locals]]] | |
1] self.portrait; | |
infrastructure execution stage[] | |
[infrastructure set[] | |
[infrastructure get[] [locals] [infrastructure length[] [locals]]] | |
2] [infrastructure execution branch[] []]; | |
implementation void[] | |
--- "This doesn't work because the caller of `stage` was given as *this* | |
Execution, and thus that partially-applied `stage` remains on the | |
stack after we branch ourselves. `stage` then attempts to return | |
to us, when really we want it to return to our new branch."; | |
self.portrait [infrastructure execution branch[] [self.portrait]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment