2

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

Frank Henard
  • 3,638
  • 3
  • 28
  • 41

1 Answers1

4

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)
Frank Henard
  • 3,638
  • 3
  • 28
  • 41