mirror of
https://github.com/janet-lang/janet
synced 2025-02-09 05:20:03 +00:00
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…
x
Reference in New Issue
Block a user