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: <>
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.


Graham Klyne
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
Received on Monday, 14 July 2003 13:51:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:46 UTC