I'm trying to figure out how to use the
> (import (prefix some-module :some-module))
docs are here
I found the example of the definition here.
Now, how do I then refer to a definition on it?
Here are some things I tried:
:some-module.baz
some-module.baz
:some-module:baz
some-module:baz
None of them worked
I got an answer in the #chicken irc room.
The example I saw with the colon in front of the prefix is wrong. It should be:
> (import (prefix some-module some-module:))
Then to use:
> (some-module:baz)
来源:https://stackoverflow.com/questions/46595258/how-to-use-import-prefix