From af26572493dfc41f181534e86d986e6591f7b1a3 Mon Sep 17 00:00:00 2001 From: Vanessa McHale Date: Mon, 29 Jul 2024 21:36:09 -0400 Subject: [PATCH] add to version control --- "test/data/primes.\360\237\215\217" | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 "test/data/primes.\360\237\215\217" diff --git "a/test/data/primes.\360\237\215\217" "b/test/data/primes.\360\237\215\217" new file mode 100644 index 000000000..d543a7bae --- /dev/null +++ "b/test/data/primes.\360\237\215\217" @@ -0,0 +1,5 @@ +λN. +{ + isPrime ← λn.¬((∨)/ₒ #f ([(n|x)=0]'(⍳ 2 (⌊(√(ℝn))) 1))); + isPrime'(irange 2 N 1) +}