Minimum set of primitives?

Kragen kragen@pobox.com
Thu, 19 Mar 1998 14:58:17 -0500 (EST)


On Thu, 19 Mar 1998, Rodrigo Ventura wrote:
>         Hum, that gives rise to a non-trivial question: how to handle
> references, gc and removable media in an hybrid memory/disk system? I
> mean, what happens if referenced objects are lost? 

That's hard -- I'm looking forward to seeing if the Symbolics people
know the answer.  I'm sure they've spent a lot of time thinking about
this problem.

> How "ls -la" things
> would work on such a system?

Oh, that's easy.
(obarray-names cwd) does ls -a.
(mapcar 
	(lambda (name) 
		(cons (typeof (obarray-lookup name cwd)) (cons name nil)))
	(obarray-names cwd)                                               )
is sort of similar to ls -la, assuming that `typeof' returns some sort of
information about the object, e.g. "string 120885 bytes".

Kragen