RobbeK
13-03-2014, 11:35
Hi all,
NewLisp has BigIntegers now.
The two languages mix very well together (see attachment).
And it is interesting to have a functional language at hand (imho).
The Lisp definition in the code is an example of lazy eval. (here, if it is not a number it will not even test the second condition -- such things have great advantages).
the rest of the code : makes a sequence 2...N and multiplies these (simple as that).
best Rob
(Also NewLisp can benefit from TB - the Java GuiServer is somewhat ... uncommon ? .... )
NewLisp has BigIntegers now.
The two languages mix very well together (see attachment).
And it is interesting to have a functional language at hand (imho).
The Lisp definition in the code is an example of lazy eval. (here, if it is not a number it will not even test the second condition -- such things have great advantages).
the rest of the code : makes a sequence 2...N and multiplies these (simple as that).
best Rob
(Also NewLisp can benefit from TB - the Java GuiServer is somewhat ... uncommon ? .... )