<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>As far as | am concerned, there is no compelling
reason. </FONT><FONT face=Arial size=2>In fact the dot is not really
needed. The records can be used as (a 'b) for field reference and
(a 'b v) for assignment, where variable a is supposed to contain a record
with a field called 'b. I</FONT><FONT face=Arial size=2>f this field
contains another record, then descending in that record can be
written like ((a ' b) 'c) for reference and ((a 'b) 'c v) for
asignment. In fact a.b.c and (set! a.b.c v) are expanded to the forms
without dots. You also could write (a (if test 'field-one 'field-two)).
</FONT><FONT face=Arial size=2>Personally I find a.b.c and (set! a.b.c v) a
handsome notation. I'm afraid it's a matter of taste, may be bad taste to
your taste.</FONT></DIV>
<DIV><FONT face=Arial size=2>Jos Koot</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=hdnews@gawab.com href="mailto:hdnews@gawab.com">Hans
Oesterholt-Dijkema</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=jos.koot@telefonica.net
href="mailto:jos.koot@telefonica.net">Jos Koot</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=plt-scheme@list.cs.brown.edu
href="mailto:plt-scheme@list.cs.brown.edu">PLT-list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 11, 2007 7:35 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [plt-scheme] dots</DIV>
<DIV><BR></DIV>I don't understand the reason to deviate from the
standard<BR>prefix notation in scheme.<BR><BR>Why not use<BR><BR>(. a
b)<BR><BR>??<BR><BR>--hans<BR> <BR><BR>Jos Koot schreef:
<BLOCKQUOTE cite=mid:001001c7aade$eafdc630$2101a8c0@jos type="cite">
<META content="MSHTML 6.00.6000.16441" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Interested in structs with multiple supertypes
and dot-notation? I call them 'records'. Be my
guest at:</FONT></DIV>
<DIV><A href="http://www.telefonica.net/web2/koot/records.zip"
moz-do-not-send="true">http://www.telefonica.net/web2/koot/records.zip</A><FONT
face=Arial size=2> (40 kb, source code plus documentation
(msword))</FONT></DIV>
<DIV><FONT face=Arial size=2>Kind regards, Jos Koot</FONT></DIV><PRE wrap=""><HR width="90%" SIZE=4>
_________________________________________________
For list-related administrative tasks:
<A class=moz-txt-link-freetext href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</A>
</PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>