[e-lang] get/put for Slots

Norman Hardy norm at cap-lore.com
Fri Sep 1 00:19:55 CDT 2006


Algol 68 insists on orthogonality.
In particular it wants to make the type constructors REF and ROW  
orthogonal.
In Algol68 there are types: INT, REF INT, ROW INT, REF ROW INT, ROW  
REF INT, etc.
They are all different and all useful.
I wrote something up on this a couple of years ago at <http://cap- 
lore.com/Languages/aref.html>.

On Aug 30, 2006, at 8:05 AM, David Hopwood wrote:

> Dean Tribble wrote:
>> I'm not sure that it is useful to tempt people into cleverly  
>> oveloading
>> slots with lists, etc. :-)  Do you have a pattern of usage in  
>> mind?  My
>> preference would be to have a protocol that highlighted when a  
>> slot was
>> being accessed via methods since that's a likely source of inobvious
>> aliasing.
>
> Mutable slots and mutable arrays both introduce aliasing, so I  
> don't really
> see why using similar syntax would make this aliasing inobvious.
>
> -- 
> David Hopwood <david.nospam.hopwood at blueyonder.co.uk>
>
>
> _______________________________________________
> e-lang mailing list
> e-lang at mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/e-lang



More information about the e-lang mailing list