[mercury-users] Failing at typeclasses.

Julian Fondren ayrnieu at gmail.com
Sun Feb 18 19:39:45 AEDT 2007


On 2/18/07, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>               % Return the maximum integer that can be
>               % returned by this random number generator.
>               %
>           pred max(int, RNG, RNG),
>           mode max(out, in,  out) is det
>       ].

Why is this useful?

> > Ow, is there any use for an abbreviated typeclass like fox_prng/1, then?
>
> No.


Thanks for your help :-)

Julian
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list