Questions tagged as 'newlisp'

0
answers

Define functions in Common Lisp

I'm trying to understand how Common Lisp works, and looking at some exercises. I find that a max-min tree is defined, as follows: (max ((min (4 5)) (min (6 (max (3 4)) (max (7 9)))) (min (3 8))))) You are asked to define several functions i...
asked by 03.04.2017 / 11:20
1
answer

Recursion in Newlisp

I need to invert a number (1234 -> 4321) but in newlisp language. The code in Java is as follows: static int invertir(int num,int multiplicador) { int inverso=num; if(num!=0) {...
asked by 04.03.2017 / 20:21