Talk:Amb: Difference between revisions

From Rosetta Code
Content added Content deleted
(Umm....English?)
 
(non-deterministic)
Line 6: Line 6:


--[[User:Mwn3d|Mwn3d]] 21:42, 22 March 2008 (MDT)
--[[User:Mwn3d|Mwn3d]] 21:42, 22 March 2008 (MDT)

==Nondeterministic==

Can we assume, for the purposes of the task, that the pseudo-randomness of "random" numbers available on PCs without external assistance qualify as non-deterministic? --[[User:Short Circuit|Short Circuit]] 22:47, 22 March 2008 (MDT)

Revision as of 04:47, 23 March 2008

"The Amb operator takes some number of expressions (or values if that's simpler in the language) and nondeterministically yields the one or fails if given no parameter, amb returns the value that doesn't lead to failure."

Can someone make this a better sentence? Should it actually be something like:

"The Amb operator takes some number of expressions (or values if that's simpler in the language), and nondeterministically returns the value that doesn't lead to failure, or fails if given no parameter."

--Mwn3d 21:42, 22 March 2008 (MDT)

Nondeterministic

Can we assume, for the purposes of the task, that the pseudo-randomness of "random" numbers available on PCs without external assistance qualify as non-deterministic? --Short Circuit 22:47, 22 March 2008 (MDT)