arc> (= x '(1 2))
arc> (sref x x 1)
GC Warning: Out of Memory! Returning NIL!
./arc.sh: line 16: 13045 Segmentation fault $mzscheme -m -d "$arc_dir/as.scm"
I was expecting to create a circular list. (This is unrelated to my earlier bug, but I figure no point starting a new thread.)
I tried it on my machine, and got the same error (well, I ^Ced out before it finished, but it was the same thing). However, the segfault isn't in the creation--it's in the display. Observe:
arc> (= x '(1 2))
(1 2)
arc> (do (sref x x 1) t)
t
Of course, this makes it difficult to test if there is a bug somewhere...
Ok, that is a bug. I suppose I should make it mean f:~g.
Those lines are fossils left over from an experiment using + to mean something (I forget what) within symbols. Since I prob will again eventually I left them.