[#1147] Copying RVALUE — why the lucky stiff <ruby-core@...>

Hello, everyone. Hope you are all doing well.

18 messages 2003/06/17
[#1155] Re: Copying RVALUE — matz@... (Yukihiro Matsumoto) 2003/06/20

Hi,

[#1157] Re: Copying RVALUE — why the lucky stiff <ruby-core@...> 2003/06/20

Yukihiro Matsumoto (matz@ruby-lang.org) wrote:

[#1173] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...>

Hi, I'm new to this mailing list so I don't know the procedure for

15 messages 2003/06/22
[#1174] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1175] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/22

On Sun, 2003-06-22 at 05:36, nobu.nokada@softhome.net wrote:

[#1176] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1193] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/25

On Sun, 2003-06-22 at 07:41, nobu.nokada@softhome.net wrote:

[#1177] Re: In 1.8.0 nil.to_s is not the same as "" — ts <decoux@...>

14 messages 2003/06/22

Re: Copying RVALUE

From: Ryan Davis <ryand@...>
Date: 2003-06-21 07:08:33 UTC
List: ruby-core #1168
On Friday, Jun 20, 2003, at 18:29 US/Pacific, Tanaka Akira wrote:

> In my view, this problem is "how to generate arbitrary graph
> structure".  Since "- &a [*a, *a]" denotes cyclic structure, it is
> clearly not possible to generate it in bottom-up or top-down.  Some
> destructive update is required.

This exact discussion is going on in the little languages mailing list. 
Guy Steele and others are talking about self referencing s-exprs. 
Apparently scheme has had this ability for some time. eg:

	#1=(a . #1#)

creates a list with 'a' and a reference back to the list. #1 is a 
marker, and #1# refers to it. Given that the implementation of scheme 
is so tiny, maybe it would be worthwhile to go sniff through a scheme 
implementation and see what they do.


In This Thread