(require plot) not working

I am trying to add some plotting to a program that uses malt - (require malt) - the library that is provided as support to The Little Learner.

When I add (require plot), I get the error:
. module: identifier already required
also provided by: malt in: line

Is there some way I can fix this? Using Dr.Racket 8.6 under Ubuntu.

Thanks!

(require (except-in plot line)) would import from plot everything except for line.

(require (prefix-in p: plot)) would import everything from plot but the module has to use the imported functions with “p:” pre-pended.

1 Like

Thanks very much!

I'd tried using "except-in", but I misunderstood what was causing the conflict. It all makes perfect sense now, I couldn't see what on earth could be clashing in these two modules before. I should use Racket more...