<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I can understand that the name on the left isn't in scope "yet" on the right,<br>but what is the algorithm for anyone else using IMPORT?<br><br><br>import foo;<br>import foo(bar);<br>import foo(bar) as foobar;<br>import foo(bar).T as fooT;<br><br><br>I doubt all but the first of these are legal, but I also don't think they are very far fetched<br>in terms of being reasonable constructs and not difficult to implement.<br><br><br>And I'm not sure the presence of the '(' is enough disambiguation for a quick human reader<br>or a pleasantly simply enough implementation, but maybe.<br><br><br>All that is to say, I don't think disallowing interface foo = foo(bar) is so bad.<br><br><br> - Jay<br><br><hr id="stopSpelling">From: hosking@cs.purdue.edu<br>Date: Fri, 1 Jan 2010 14:43:36 -0500<br>To: jkrell@elego.de<br>CC: m3commit@elegosoft.com<br>Subject: Re: [M3commit] CVS Update: cm3<br><br>

<div><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div><span class="ecxApple-style-span" style="font-size: medium;"><font class="ecxApple-style-span" color="#0000ff" face="'Gill Sans'">That's a bug in m3tk scope management.  Probably needs a ticket in the bugs database...</font></span></div></span></span></span></span></span></span></span></span></div></span></span>
</div>
<br><div><div>On 30 Dec 2009, at 15:40, Jay Krell wrote:</div><br class="ecxApple-interchange-newline"><blockquote><div>CVSROOT:<span class="ecxApple-tab-span" style="white-space: pre;">        </span>/usr/cvs<br>Changes by:<span class="ecxApple-tab-span" style="white-space: pre;">  </span>jkrell@birch.<span class="ecxApple-tab-span" style="white-space: pre;">  </span>09/12/30 15:40:06<br><br>Modified files:<br><span class="ecxApple-tab-span" style="white-space: pre;"> </span>cm3/m3-libs/m3core/src/word/: Long.i3 Long.m3 Word.i3 Word.m3 <br><span class="ecxApple-tab-span" style="white-space: pre;">       </span>                              m3makefile <br>Added files:<br><span class="ecxApple-tab-span" style="white-space: pre;">     </span>cm3/m3-libs/m3core/src/word/: GenWord.ig GenWord.mg <br>Removed files:<br><span class="ecxApple-tab-span" style="white-space: pre;"> </span>cm3/m3-libs/m3core/src/word/: Word.ig Word.mg <br><br>Log message:<br><span class="ecxApple-tab-span" style="white-space: pre;">       </span>go back to GenWord<br><span class="ecxApple-tab-span" style="white-space: pre;">   </span>the other front end (Olivetti m3-tk)<br><span class="ecxApple-tab-span" style="white-space: pre;"> </span>doesn't understand<br><span class="ecxApple-tab-span" style="white-space: pre;">   </span>INTERFACE Word = Word(WordRep) END Word.<br><span class="ecxApple-tab-span" style="white-space: pre;">     </span>but it does't understand<br><span class="ecxApple-tab-span" style="white-space: pre;">     </span>INTERFACE Word = GenWord(WordRep) END Word.<br></div></blockquote></div><br>                                           </body>
</html>