Slide 19
Slide 19 text
How low level interface works
on_binary is called when 1, +, 2 are reduced to arg
Arguments are “count 1”, :+ and “count 5”
Returned values are passed to another method call
1 (“count 1”) 2 (“count 5”)
+
arg (“count 6”) 1 (“count 1”) 2 (“count 5”)
+
on_binary("count 1", :+, "count 5") is called and
“count 6” is returned