Skip to content

Commit

Permalink
Potential fix (elm#1107) (optimized version)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForgottenGensym authored Jun 1, 2021
1 parent 70a0f15 commit d0e8524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/List.elm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ singleton value =
-}
repeat : Int -> a -> List a
repeat n value =
if isInfinite n then
if isPositiveInfinity n then
[]

else
Expand Down

0 comments on commit d0e8524

Please sign in to comment.