1
0
mirror of https://github.com/janet-lang/janet synced 2024-09-29 23:40:40 +00:00
janet/libs/pp.gst

21 lines
424 B
Plaintext
Raw Normal View History

# Pretty print
# Reindent a function to be more deeply indented
(: reindent (fn [x] x))
(: handler {
"number" tostring
"nil" tostring
"boolean" tostring
"userdata" tostring
"cfunction" tostring
"function" tostring
"string" tostring # change to unquote string
"buffer" tostring
"array" tostring
"tuple" tostring
"object" tostring
"struct" tostring
"thread" tostring
})