From e7220f8329cab8c39c42f9f9d26d5c84e91c4c55 Mon Sep 17 00:00:00 2001 From: jmbromley <14954519+jmbromley@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:38:11 +0000 Subject: [PATCH] Fix line spacing to match elm-format standard. --- src/List/Extra.elm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/List/Extra.elm b/src/List/Extra.elm index 80220ed..ee6ed6c 100644 --- a/src/List/Extra.elm +++ b/src/List/Extra.elm @@ -2026,6 +2026,7 @@ groupsOfWithStep size step list = go list [] + {- List.take starts out non-tail-recursive and switches to a tail-recursive implementation after the first 1000 iterations. For functions which are themselves recursive and use List.take on each call (e.g. List.Extra.groupsOf), this can result @@ -2035,6 +2036,8 @@ groupsOfWithStep size step list = of elm/core and carries the following copywrite: -} + + takeTailRec : Int -> List a -> List a takeTailRec n list = List.reverse (takeReverse n list [])