From 1beec6190e69ccb650b77e1a685cb12f0c443d5f Mon Sep 17 00:00:00 2001 From: 0x4261756D Date: Fri, 22 Dec 2023 22:13:55 +0100 Subject: [PATCH] Add decrement to the standard library --- std.qbl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/std.qbl b/std.qbl index 37af110..c50f622 100644 --- a/std.qbl +++ b/std.qbl @@ -18,4 +18,9 @@ function int int => int % function int int => int / { divmod req deq -} \ No newline at end of file +} + +function int => int decrement +{ + 1 - +}