2017-06-06 7:30 GMT+02:00 Ben Greenman <[email protected]>:
> Maybe the issue is line 52 of math/private/distributions/utils (it seems > like a typo to me) > > (define-type type-name (struct-name Real Flonum)) > > > I think this means that the type Discrete-Uniform-Dist is really > (discrete-uniform-dist-struct Real Flonum). > > Anyway, if I change the return typed of discrete-uniform to > (discrete-uniform-dist-struct Real Integer) then your code type-checks. > > Thanks Alex and Ben. Using define-real-dist without changes was indeed the problem. /Jens Axel -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

