On 6/4/09, Richard Fateman <fateman at cs.berkeley.edu> wrote: > you could do this: > matchdeclare([a,b,c,d],any); > > f[Interval(a,b),Interval(b,c)):=fInterval(a,b,c,d) What?? Maxima complains about function definitions like f(foo(x)) := ... or f[foo(x)] := .... Did you intend some pattern matching construct? Robert Dodier