examples/partial_style_method2.rb in patternmatching-0.2.3 vs examples/partial_style_method2.rb in patternmatching-0.2.4
- old
+ new
@@ -11,10 +11,10 @@
func(:calcx) do
seems as {plus(:a, :b)} do
calcx(a) + calcx(b)
end
- seems as {mul(:x, :y)} do
+ seems as {mul(:a, :b)} do
calcx(a) * calcx(b)
end
end
func(:calcx).seems as {:value} do
value