10 lines
169 B
Text
10 lines
169 B
Text
|
|
/* Maxima is written in Lisp and can call Lisp functions.
|
||
|
|
Use load("funcs.lisp"), or inside Maxima: */
|
||
|
|
|
||
|
|
to_lisp();
|
||
|
|
> (defun $f (a b) (+ a b))
|
||
|
|
> (to-maxima)
|
||
|
|
|
||
|
|
f(5, 6);
|
||
|
|
11
|