W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > April 2005

RFE: built-in for making datatype literals

From: Dan Connolly <connolly@w3.org>
Date: Fri, 01 Apr 2005 12:41:19 -0600
To: public-cwm-bugs@w3.org
Message-Id: <1112380879.15073.179.camel@localhost>

I'd like a built-in for making datatyped literals out of strings
and URIs, ala...

{ ("2005-03-30T11:00:00" tz) log:dtlit ?X } => { ?X a Answer }.

produces...

    "2005-03-30T11:00:00"^^:tz     a :Answer .

In fact, I implemented it in llyn.py ...

revision 1.124.2.2
date: 2005/03/30 16:22:46;  author: connolly;  state: Exp;  lines: +10
-2
added dtlit built-in; see test in test/dt/dtlit1.n3

hmm... I didn't realize I was on a branch.

And the test case isn't integrated with the test harness.

And I haven't added it to the CwmBuiltIns page.

So this feature isn't really there yet.

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Friday, 1 April 2005 18:59:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:00 UTC