[mercury-users] getopt

Michael Day mikeday at yeslogic.com
Mon Feb 24 12:29:43 AEDT 2003


% :- pred option_default(option::out, option_data::out) is nondet.
%       Nondeterministically returns all the options with their
%       corresponding types and default values.

Why is this nondet rather than multi?
If you don't have any options at all, why would you be using getopt?

Michael

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list