From 004f853f260d321753af32318ecdeb2c585af7b0 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 13 Mar 2024 15:22:05 +0100 Subject: Better string comparison using prefixed spaceship operator Co-authored-by: JoJoBarthold2 --- std/Number/Unary.bruijn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'std/Number/Unary.bruijn') diff --git a/std/Number/Unary.bruijn b/std/Number/Unary.bruijn index 81af007..5041614 100644 --- a/std/Number/Unary.bruijn +++ b/std/Number/Unary.bruijn @@ -136,6 +136,8 @@ compare compare-case (+0) (+1) (-1) ⧗ Unary → Unary → Number …<=>… compare +<=>‣ &compare + # muls two unary numbers mul …∘… ⧗ Unary → Unary → Unary -- cgit v1.2.3