aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/base.slang4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/base.slang b/library/base.slang
new file mode 100644
index 0000000..dc2c725
--- /dev/null
+++ b/library/base.slang
@@ -0,0 +1,4 @@
+§ abs dup 0 < if -1 * then else ;
+
+§ min ovr ovr < if pop then swp pop else ;
+§ max ovr ovr < if swp pop then pop else ;