From 46e567b564b97a653c9d08ee4cfe031cf4241782 Mon Sep 17 00:00:00 2001 From: hmkemppainen Date: Fri, 29 Mar 2024 18:10:03 +0200 Subject: [PATCH] fix solution to second exercise --- code/08.k | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/08.k b/code/08.k index d790319..d4ad443 100644 --- a/code/08.k +++ b/code/08.k @@ -3,5 +3,5 @@ bs:24 60 60\ / mixed base conversion. / 2. Write a function that takes a list of numbers `x` and a number `y`. Group the numbers in `x` into a dictionary based on whether they are multiples / of `y`. `f[1 3 5 9;3]` -> `(0;1)!(1 5;3 9)` -dct:{x@~=y!x} +dct:{x@=~y!x}