From 6140b05a7fe07f60e6e728adefa5db66de9be05a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 6 May 2024 20:46:50 +0100 Subject: [PATCH] 06: simplify code to use monadic / (Indexes) --- 06/06a.bqn | 2 +- 06/06b.bqn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/06/06a.bqn b/06/06a.bqn index 0860fc1..c4020a6 100644 --- a/06/06a.bqn +++ b/06/06a.bqn @@ -1 +1 @@ -•Show 4{𝕨+⊑(/⟜(↕≠))(∧´∊)˘𝕨↕𝕩}¨•file.Lines ⊑•args +•Show 4{𝕨+⊑/(∧´∊)˘𝕨↕𝕩}¨•file.Lines ⊑•args diff --git a/06/06b.bqn b/06/06b.bqn index 80e560c..eb51c1c 100644 --- a/06/06b.bqn +++ b/06/06b.bqn @@ -1 +1 @@ -•Show 14{𝕨+⊑(/⟜(↕≠))(∧´∊)˘𝕨↕𝕩}¨•file.Lines ⊑•args +•Show 14{𝕨+⊑/(∧´∊)˘𝕨↕𝕩}¨•file.Lines ⊑•args -- 2.30.2