From d0e85249a52d81f6cb97667aabc70e7533671e79 Mon Sep 17 00:00:00 2001 From: there# <84727708+ForgottenGensym@users.noreply.github.com> Date: Tue, 1 Jun 2021 09:41:32 -0400 Subject: [PATCH] Potential fix (#1107) (optimized version) --- src/List.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/List.elm b/src/List.elm index ac59e144..ab9e92a2 100644 --- a/src/List.elm +++ b/src/List.elm @@ -62,7 +62,7 @@ singleton value = -} repeat : Int -> a -> List a repeat n value = - if isInfinite n then + if isPositiveInfinity n then [] else