Re: [q-lang-users] New stuff in cvs: multichar ops, views
Brought to you by:
agraef
From: <ed...@ri...> - 2007-06-28 18:06:26
|
<p><br /> This seams to be the same argument as the -1 thingy. Do we want -= 1 to mean - is an operator and 1 is a number or -1 to be an integer? Is 1+:= 2 a complex number or is 1+:2 and operator to create a complex number from = reals 1 and 2? Too bad white space isn't significant because, then you coul= d have the best of both worlds - 1 (with space) as a unary minus and -1 wit= h no space as an integer; 1 +: 2 (with space) as a constructor for a comple= x number and 1+:2 as complex number.</p><p>1+:2 * 3+:4 =3D=3D> 11+:2</p>= <p>1 +: 2 * 3 +: 4 =3D=3D> 1+:10</p>I wish I new more about PL theory.<p= > Eddie<br /><br /><br /><strong>On Wed Jun 27 18:15 , Albert Graef s= ent:<br /><br /></strong><blockquote style=3D"border-left: 2px solid rgb(24= 5, 245, 245); margin-left: 5px; margin-right: 0px; padding-left: 5px; paddi= ng-right: 0px;">John Cowan wrote:<br />=0D > I have mixed feelings about it. Scheme of course does not have infix<= br />=0D > operator priorities, but does allow complex constants of the form 3+4i= ,<br />=0D > which is equivalent to (make-rectangular 3 4). So tight binding feels= <br />=0D > right to me. OTOH, Haskell compatibility is a strong argument; on the= <br />=0D > gripping hand, Haskell may simply have gotten this wrong, as C did wit= h &&<br />=0D > and ||.<br />=0D <br />=0D Well, I see a rationale behind this, as :+ really is an addition<br />=0D operator, so there is a case for treating it as such.<br />=0D <br />=0D Albert<br />=0D <br />=0D -- <br />=0D Dr. Albert Gr"af<br />=0D Dept. of Music-Informatics, University of Mainz, Germany<br />=0D Email: <a href=3D"javascript:top.opencompose('Dr....@t-...','','',= '')">Dr....@t-...</a>, <a href=3D"javascript:top.opencompose('ag@mu= wiinfa.geschichte.uni-mainz.de','','','')">ag...@mu...schichte.uni-mainz= .de</a><br />=0D WWW: <a target=3D"_blank" href=3D"../parse.pl?redirect=3Dhttp%3A%2F%2Fww= w.musikinformatik.uni-mainz.de%2Fag">http://www.musikinformatik.uni-mainz.d= e/ag</a><br />=0D <br />=0D -------------------------------------------------------------------------<b= r />=0D This SF.net email is sponsored by DB2 Express<br />=0D Download DB2 Express C - the FREE version of DB2 express and take<br />=0D control of your XML. No limits. Just data. Click to get it now.<br />=0D <a target=3D"_blank" href=3D"../parse.pl?redirect=3Dhttp%3A%2F%2Fsourceforg= e.net%2Fpowerbar%2Fdb2%2F">http://sourceforge.net/powerbar/db2/</a><br />= =0D _______________________________________________<br />=0D q-lang-users mailing list<br />=0D <a href=3D"javascript:top.opencompose('q-l...@li...',= '','','')">q-l...@li...</a><br />=0D <a target=3D"_blank" href=3D"../parse.pl?redirect=3Dhttps%3A%2F%2Flists.sou= rceforge.net%2Flists%2Flistinfo%2Fq-lang-users">https://lists.sourceforge.n= et/lists/listinfo/q-lang-users</a><br />=0D </blockquote>=0D </p><BR>= |