My favorites | Sign in
Logo
                
Search
for
Updated Jul 20, 2008 by srikumarks
Labels: Internal, Deprecated
ChangeLog372to437  
Description of changes between releases 372 and 437

Introduction

Describes changes between versions 372 and 437.

Summary

Features: Forward decaration using define, first class classes, get and put support arbitrary number of arguments, local import from a module, vectors can be used with get and put, OLE automation support.

Experimental work: the and it primitives for reducing need to name results.

Bug fixes: Parsing, pretty printing and GC.

Features

DESCRIPTION: By "recursive get/put", I mean the redefinition of get and put to behave the following way -

(get obj key) -> Same as before, except that only the value will be returned and not the cons pair.

(get obj key1 key2) -> (get (get obj key1) key2)
(get obj key1 key2 key3) -> (get (get (get obj key1) key2) key3)
.. and so on

Similarly for put -

(put obj key value) -> same as before
(put obj key1 key2 value) -> (put (get obj key1) key2 value)
(put obj key1 key2 key3 value) -> (put (get obj key1 key2) key3 value)
.. and so on.

Note: get, as opposed to ->, does not search inheritance hierarchies.

You can now create OLE objects and invoke methods via dynamic dispatch.

New functions -

   com-create
   com-release
   byref

COM objects support property getting and setting by supporting the 'prop' view - i.e. you can use get and put functions on COM objects.

Experimental work

See TheAndIt.

OBSOLETE COMMENT

Introduced "it" (which is now a reserved symbol). In conditional expressions such as if, when, unles, cond and case, the value of the condition on which the branch occurs will be available in the body of the conditional as "it". For example,

(if (find 3 '(1 2 3 4 5))
   (print it)
   (print "not found"))

will print

(3 4 5)

This is marked "experimental" since "it" may not be the right word for it. Maybe "the-result" is better, but "it" seems the most concise.

"the" scope is now limited to within do blocks (and if, cond, case, etc.) Also modified several algo functions to save their results in the recent list.

Enhancements

Bug fixes

Miscellaneous


Sign in to add a comment
Hosted by Google Code