How can I import hash functions into lazy Racket?
So far I have the following:
#lang lazy
(require (only-in racket/base
hash
hash-set))
and I get the following error:
only-in: bad module path in: (only-in racket/base hash hash-set)
Where am I going wrong? What would be the correct module path?
Do you know what version of Racket you’re using? I can’t reproduce your error under Racket 5.3: when I try it, your code does what you expect.