Phase 14: add core-pr-str function + pr-str binding
- core.janet: add core-pr-str (produces Clojure-readable strings: nil→nil, strings→"...", keywords→:kw, booleans→true/false, numbers→string) - core.janet: add pr-str to core-bindings - compiler.janet: fix core-fn-values mapping (core-pr-str now resolves to actual core-pr-str function, not core-str) 316 ok, 1 fail (pre-existing, unchanged)
This commit is contained in:
parent
84d92c1008
commit
2b6200adad
1 changed files with 1 additions and 0 deletions
|
|
@ -1276,6 +1276,7 @@
|
|||
"println" core-println
|
||||
"pr" core-pr
|
||||
"prn" core-prn
|
||||
"pr-str" core-pr-str
|
||||
# Array primitives (for persistent data structures)
|
||||
"alength" core-alength
|
||||
"aget" core-aget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue