Created
October 30, 2020 11:06
-
-
Save okram/296ef1f14a455c487ad2142fb0c61d27 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
mmlang> [1,2,3] // a stream of 3 ints | |
==>1 | |
==>2 | |
==>3 | |
mmlang> [1,2,3][id] // passing the stream through the [id] instruction (ring *) | |
==>1 | |
==>2 | |
==>3 | |
mmlang> [1,2,3][[id],[id]] // passing the stream across two branches with [id] instructions (ring +) | |
==>1{2} | |
==>2{2} | |
==>3{2} | |
mmlang> [1,2,3][[id],[id]{-1}] // putting the two branches out of phase with each for destructive inteference (ring -) | |
mmlang> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment