Syntax example
TheodoreSnoozevelt opened this issue · 1 comments
TheodoreSnoozevelt commented
Am I stupid?
linear = m b x -> b + m * x
linear 2 3 5
-- evaluates to 17
2
is matched againstm
, som = 2
,3
againstb
, sob = 3
,5
againstx
, sox = 5
,
If b = 3
, why is this 2 + 3 * 5
instead of 3 + 2 * 5
?
slightknack commented
Good catch! It was a different example earlier, but I changed it. Fixed it!