[Omake] error when defining a rule inside of a function

Erick Tryzelaar erickt at dslextreme.com
Fri Jan 12 18:02:27 PST 2007


Hello again,

I've run into a strange error trying to define a rule inside of a function:

% foo(x, y) =
foo>      foo(x, y) =
foo>         $x: $y
rule>           echo hello $x $y
rule>           .
.
foo>         .
.
- : <fun 2>
% foo(a, b)
*** omake error:
   File -: line 32, characters 0-6
   arity mismatch: expected 2 args, got 6


What's causing this to happen?

-e


More information about the Omake mailing list