From aa5578ffe8fb2a9e6d24b0077f5d7ced630b7dfa Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 21 Apr 2025 14:54:23 -0400 Subject: Rename List.first() to List.where() --- test/lists.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lists.tm') diff --git a/test/lists.tm b/test/lists.tm index 71e107ef..6281532c 100644 --- a/test/lists.tm +++ b/test/lists.tm @@ -168,9 +168,9 @@ func main() >> ["a", "b", "c"].find("XXX") = none - >> [10, 20].first(func(i:&Int) i.is_prime()) + >> [10, 20].where(func(i:&Int) i.is_prime()) = none - >> [4, 5, 6].first(func(i:&Int) i.is_prime()) + >> [4, 5, 6].where(func(i:&Int) i.is_prime()) = 2? do -- cgit v1.2.3