newlisp 9.0.1 released
Posted: Tue Nov 14, 2006 10:44 pm
Just released (in silent secret, wasnt it my update.lsp triggered me..)
newlisp 9.0.1
'read-file' did not read extended http:// mode parameters correctly
new 'doargs' works like 'dolist' iterates through (args)
(define (foo) (doargs (i) (println i)))
(foo 1 2 3) => prints 1 2 3
implemented on top of 'dolist' also does $idx and break-expressions
'explode' takes extra parameter for # of characters (works on UTF-8 too):
(explode "newlisp" 2) => ("ne" "wl" "is" "p")
new 'utf8len' length of a string in UTF-8 characters
new scalar matrix operations (matrix is a 2 dimensional list or array):
(set 'A '((1 2 3) (4 5 6))
(set 'B A)
(mat + A B) => ((2 4 6) (8 10 12))
(mat - A B) => ((0 0 0) (0 0 0))
(mat * A B) => ((1 4 9) (16 25 36))
(mat / A B) => ((1 1 1) (1 1 1))
newlisp 9.0.1
'read-file' did not read extended http:// mode parameters correctly
new 'doargs' works like 'dolist' iterates through (args)
(define (foo) (doargs (i) (println i)))
(foo 1 2 3) => prints 1 2 3
implemented on top of 'dolist' also does $idx and break-expressions
'explode' takes extra parameter for # of characters (works on UTF-8 too):
(explode "newlisp" 2) => ("ne" "wl" "is" "p")
new 'utf8len' length of a string in UTF-8 characters
new scalar matrix operations (matrix is a 2 dimensional list or array):
(set 'A '((1 2 3) (4 5 6))
(set 'B A)
(mat + A B) => ((2 4 6) (8 10 12))
(mat - A B) => ((0 0 0) (0 0 0))
(mat * A B) => ((1 4 9) (16 25 36))
(mat / A B) => ((1 1 1) (1 1 1))