19 lines
282 B
Plaintext
19 lines
282 B
Plaintext
# A base library for Ludus
|
|
# Only loaded in the prelude
|
|
|
|
(defn- stringify [value]
|
|
(def typed? (when (table? value) (:^type value))
|
|
(def type (if typed? typed? (type value))
|
|
(case type
|
|
:nil ""
|
|
:number (string value)
|
|
:
|
|
)
|
|
)
|
|
|
|
(def show {
|
|
:name "show"
|
|
:fn ()
|
|
})
|
|
|