Skip to content

Commit

Permalink
Fix line spacing to match elm-format standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbromley committed Mar 18, 2024
1 parent ecf9bad commit e7220f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/List/Extra.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 [])
Expand Down

0 comments on commit e7220f8

Please sign in to comment.