In the definitions window of DrRacket:
(require (only-in math/number-theory partitions))
but after running,
typing (partitions 0) in the interactions window
gives the following error:
define-values: assignment disallowed;
cannot re-define a constant
The error does not show up when I comment out
the two lines (partitions 0) in the definitions window
and rerun before typing (partitions 0) in the interactions window.
I suppose this is a bug.
The error does not occur when replacing
It is very well possible that I don't correctly require
from a typed module into an untyped one.
Should be possible, no?
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
For more options, visit https://groups.google.com/d/optout.