aboutsummaryrefslogtreecommitdiff
path: root/library/base.slang
diff options
context:
space:
mode:
Diffstat (limited to 'library/base.slang')
-rw-r--r--library/base.slang7
1 files changed, 7 insertions, 0 deletions
diff --git a/library/base.slang b/library/base.slang
index dc2c725..531b189 100644
--- a/library/base.slang
+++ b/library/base.slang
@@ -1,4 +1,11 @@
+§ nip swp pop ;
+§ tuck swp ovr ;
+
§ 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 ;
+
+§ > swp < ;
+§ <= > not ;
+§ >= < not ;