[m-users.] Random supply, mdi and muo

Julian Fondren jfondren at minimaltype.com
Sun Aug 11 03:06:37 AEST 2019


On 2019-08-10 04:00, emacstheviking wrote:
> I googled and foind one old posting from 200 about the "rnd" module
> which doesn't seem to be alive anymore, it's random.m now isn't it?
> 
> I cannot find anything in the documentation about "mdi" and "muo"; I
> can see that it's some kind of safeguard against using the same random
> generator twice or something but I can't understand the code I am
> writing for lack of details!!!
> 
> All I seek is
>  (a) what is the intent of mdi/muo and
>  (b) how to use it correctly!
> 
> Many thanks.
> Sean.

They're described in 
https://mercurylang.org/information/doc-latest/mercury_ref/Backtrackable-destructive-update.html

The PDF versions of the manual are more convenient for full-text 
searching.


More information about the users mailing list