summaryrefslogtreecommitdiff
path: root/src/CoreBindings.kt
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-08-21 16:15:59 +0200
committernea <nea@nea.moe>2023-08-21 16:15:59 +0200
commit4bbfede4060d38083aafd8a6c7ab2847e0e55ebf (patch)
treef0ab50180d2fa1c872ba8c20a4b055cd87bed3c9 /src/CoreBindings.kt
parentde694f30b5e2f6fd62a00e5a622abe0a2411afb9 (diff)
downloadnealisp-4bbfede4060d38083aafd8a6c7ab2847e0e55ebf.tar.gz
nealisp-4bbfede4060d38083aafd8a6c7ab2847e0e55ebf.tar.bz2
nealisp-4bbfede4060d38083aafd8a6c7ab2847e0e55ebf.zip
method binding
Diffstat (limited to 'src/CoreBindings.kt')
-rw-r--r--src/CoreBindings.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CoreBindings.kt b/src/CoreBindings.kt
index 94b3852..b90072e 100644
--- a/src/CoreBindings.kt
+++ b/src/CoreBindings.kt
@@ -15,7 +15,7 @@ object CoreBindings {
return@externalRawCall stackFrame.setValueLocal(name.label, context.resolveValue(stackFrame, value))
}
- private fun isTruthy(data: LispData): Boolean? {
+ fun isTruthy(data: LispData): Boolean? {
if (data == trueValue) return true
if (data == falseValue) return false
return null