Created
February 1, 2015 03:55
-
-
Save pnwamk/c16cd323858dc3606460 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
(match tail | |
... | |
[(if ,p ,tT ,fT) | |
(cps | |
[tTail* tE <- (Tail tTail) (: Tail/c Env/c)] | |
[fTail* fE <- (Tail fTail) (: Tail/c Env/c)] | |
[then | |
(let*-values ([(l+ tE*) (label-block tTail* 'T #f)] | |
[(l- fE*) (label-block fTail* 'F #f)] | |
[(tail* Ep)]) | |
(cps | |
[pTail pE <- (Pred p l+ l-) (: Tail/c Env/c)] | |
[then (k pTail (append tE fE tE* fE* pE))]))])] | |
...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment