How do I import an addon in the Io language?
-
28-09-2019 - |
Question
Specifically, I'm trying to use the Random addon. The documentation states addons should be loaded upon first use, which is also supported by Hyperpolyglot However, I get (running one of the sample programs)
Exception: Object does not respond to 'Random'
---------
Object Random Cards.io 4
Solution
This appears to be a problem with the macports installation of IO. Building and installing from source worked (with io_static - 'io' has dylib problems)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow