xsl-list
[Top] [All Lists]

[xsl] Re: [xquery-talk] Random number generation : requirements

2014-05-06 15:42:57

Similar to Zorba, most functions are non-deterministic. Is there any
particular reason why the official random functions need to be
deterministic?


Yes, we don't have any machinery in the language semantics for declaring 
something as nondeterministic (easy to solve) or defining the semantics of how 
it should behave if thus annotated (much harder).

For example, if f() and g() are non-deterministic functions, how do we say in 
the spec that in the expression (f(), g()), f should be executed before g?

Michael Kay
Saxonica 
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>