Skip to content

Instantly share code, notes, and snippets.

@okram
Created August 11, 2020 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okram/06dc316ec28b48213aeda9a35e6f8898 to your computer and use it in GitHub Desktop.
Save okram/06dc316ec28b48213aeda9a35e6f8898 to your computer and use it in GitHub Desktop.
mmlang> 1=>int[plus,1][plus,2][plus,3]
==>7
mmlang> 1=>int[plus,1][plus,2][plus,3][path]
==>(1;[plus,1];2;[plus,2];4;[plus,3];7)
mmlang> 1=>int[plus,1][plus,2][plus,3][path]=(_,_{0},_)
==>(1,,2)
mmlang> 1=>int[plus,1][plus,2][plus,3][path]=(_,_{0},_)>-
==>1
==>2
mmlang> 1=>int[plus,1][plus,2][plus,3][path]=(_,_{0},_)>-[sum]
==>3
mmlang>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment