Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 1, 2016 04:15
Show Gist options
  • Save Whateverable/8bf643f794c8f3d1b076c8bc0eb131dc to your computer and use it in GitHub Desktop.
Save Whateverable/8bf643f794c8f3d1b076c8bc0eb131dc to your computer and use it in GitHub Desktop.
committable6
HEAD https://gist.githubusercontent.com/AlexDaniel/15ac3d529aec605999eca7ffa3272cef/raw/ac8fee2173b290ed184c788e3dc8affa0cf32dc4/file.p6
¦«HEAD»: 「42 + 60; 2 multiply 10」
operation => 「42 + 60」
add => 「42 + 60」
int => 「42」
int => 「60」
operation => 「2 multiply 10」
multiply => 「2 multiply 10」
int => 「2」
int => 「10」
[Addition.new(a => SuperInteger.new(value => 42), b => SuperInteger.new(value => 60)) Multiplication.new(a => SuperInteger.new(value => 2), b => SuperInteger.new(value => 10))]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment