RosettaCodeData/Task/Call-a-foreign-language-function/Maxima/call-a-foreign-language-function.maxima
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

9 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