This is a difference in behavior between Racket BC and Racket CS, and not something in the describe library:
[samth@homer:~/work/teaching/c211 (master) racket-7.8] racket Welcome to Racket v7.8. > (struct->vector 5) '#(struct:fixnum-integer ...) > ^D [samth@homer:~/work/teaching/c211 (master) plt] racket Welcome to Racket v7.8.0.9 [cs]. > (struct->vector 5) '#(struct:simple ...) On Tue, Sep 15, 2020 at 5:47 PM Kevin Forchione <lyss...@gmail.com> wrote: > > Hi guys, > I’m not sure why the describe library’s variant is always returning ‘simple > regardless of numeric value. For instance, the docmentation says: > > (variant 1) -> fixnum-integer > > But when I run it under Dr Racket 7.8 [cs] it returns ‘simple for this, as > well as for 10.3 as well as pi, 2/3, and 0+1i. > > Any ideas why this is happening? > > Thanks! > > Kevin > > -- > 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 racket-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/367E5C0C-FA1C-4546-A586-54135D264C6B%40gmail.com. -- 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 racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAK%3DHD%2Bbwvpu2FGsqTwRkBVJEg9%2B6%2Bb5f1RUzXwofKDjaHsjZNw%40mail.gmail.com.