development release newLISP v.9.3.10

Notices and updates
Locked
Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

development release newLISP v.9.3.10

Post by Lutz »

• changes and bug fixes for the new Cilk interface

• reference parameter passing with context/default functor is now allowed for any built-in function asking for lists or strings

• miscellanous fixes and changes

for files and changes notes: http://newlisp.org/download/development

ps: 9.3.9 was an internal milestone and never released

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Hi Lutz,

Thanks, as always, for the release !

A question concerning =>
now the default functor as a container for lists or strings can be
used for any built-in function asking for a string or list. Until
now only functons of the special form (... (L idx) ...) could use:
(nth-set (L idx) value) when L:L => '(a b c d)
now any function can take lists or strings packaged this way:
(pop L) => a
or with strings:
(set 'S:S "abcdefg") (upper-case S) => "ABCDEFG"
This means that any user defined function when given a list or string
packed with a default functor will pass this list or string by reference
to any built-in function.

Shouldn't (last S) and (first S) also be working ?
Or do i make a mistake here? Because (0 2 S) and (nth 2 S) do work..
-- (define? (Cornflakes))

Locked