mirror of https://github.com/janet-lang/janet
Primes example fixed
It was failing due to unknown symbol "string/pretty"; (pp (primes 100)) works properly.
This commit is contained in:
parent
dd1a199ebd
commit
0aa2f68793
|
@ -13,4 +13,4 @@
|
||||||
(if isprime? (array/push list i)))
|
(if isprime? (array/push list i)))
|
||||||
list)
|
list)
|
||||||
|
|
||||||
(print (string/pretty (primes 100)))
|
(pp (primes 100))
|
||||||
|
|
Loading…
Reference in New Issue