Last active
August 25, 2020 21:14
-
-
Save okram/cac89524fd197e9384fa0a6c04034c28 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
mmlang> (1,2,3)>--<(int{3};[mult,10];-<(-<([is>20];-<(+70,+170,+270)>-)>-, | |
......> -<([is>10];-<(*10,*20,*30)>- )>-, | |
......> -<(_;{0})>- )>-;[plus,100])>- | |
==>500 | |
==>200 | |
==>300{2} | |
==>400{2} | |
==>700{2} | |
==>1000 | |
// NO FINAL MERGE (thus, the 3 branches remain independent) | |
mmlang> (1,2,3)>--<(int{3};[mult,10];-<(-<([is>20];-<(+70,+170,+270)>-)>-, | |
......> -<([is>10];-<(*10,*20,*30)>- )>-, | |
......> -<(_;{0})>- )>-;[plus,100]) | |
==>(1;10;{0};{0}) | |
==>(2;20;[200,400,600];[300,500,700]) | |
==>(3;30;[100,200,300{2},600,900];[200,300,400{2},700,1000]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment