W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2003

Re: Minus signs in N3 (again)

From: Graham Klyne <GK@ninebynine.org>
Date: Mon, 14 Jul 2003 18:36:58 +0100
Message-Id: <5.1.0.14.2.20030714183222.02f05340@127.0.0.1>
To: Sandro Hawke <sandro@w3.org>, "Kevin D. Keck" <kdkeck@lbl.gov>, timbl@w3.org
Cc: www-rdf-interest@w3.org

At 09:20 14/07/03 -0400, Sandro Hawke wrote:
>Meanwhile, I think forcing people to be careful with whitespace around
>operators is an iffy proposition in a modern formal language.

Merely as a data point... Haskell uses '.' as a function composition 
operator (which is oft-used), and also (in a commonly used language 
extension) uses it for punctuation in hierarchical module names, with the 
effect that the operator form does require surrounding whitespace.

In the case of function composition, this does aesthetically seem a 
reasonable way to write it, which I'm not sure would apply to arithmetic 
operators, but YMMV.

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
Received on Monday, 14 July 2003 13:51:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:00 GMT