- From: Axel Polleres <axel.polleres@deri.org>
- Date: Tue, 12 Jun 2007 14:17:14 +0200
- To: Igor Mozetic <igor.mozetic@ijs.si>
- CC: public-rif-wg@w3.org
Igor Mozetic wrote:
>
> Hi,
>
> I have the action to propose adding/removing builtins functions and
> operators
> to http://www.w3.org/2005/rules/wg/wiki/List_of_functions_and_operators
> In addition to what Paula already proposed, I think we need also the
> following (functions that are not easily derivable from the rest):
>
> 6.2 Operators on Numeric Values
> 6.2.5 op:numeric-integer-divide
> 6.2.6 op:numeric-mod
> 6.4 Functions on Numeric Values
> 6.4.1 fn:abs
> 6.4.2 fn:ceiling
> 6.4.3 fn:floor
> 6.4.4 fn:round
> 6.4.5 fn:round-half-to-even
> 7.2 Functions to Assemble and Disassemble Strings
> 7.2.1 fn:codepoints-to-string
> 7.2.2 fn:string-to-codepoints
>
> We also need operations on lists/sequences, but I'm not sure if
> we want to completely adopt the XQuery and XPath operators.
> In addition to the basic operations on lists, we need the aggregates:
>
> 15 Functions and Operators on Sequences
> ....
> 15.4 Aggregate Functions
> 15.4.1 fn:count
> 15.4.2 fn:avg
> 15.4.3 fn:max
> 15.4.4 fn:min
> 15.4.5 fn:sum
>
Re: http://lists.w3.org/Archives/Public/public-rif-wg/2007Jun/0003.html
and
http://lists.w3.org/Archives/Public/public-rif-wg/2007Jun/0004.html
... I think this needs some thought, especially something like
aggregates! Aggregates can also be (and are by implemented rule
systems!) on predicate extensions instead o lists.
Also, we do not have a datatype for lists yet, do we? (mainly asking
because I might have missed that on the second day of the f2f in case...)
axel
--
Dr. Axel Polleres
email: axel@polleres.net url: http://www.polleres.net/
Received on Tuesday, 12 June 2007 12:17:22 UTC