Skip to content

Commit 7b7dcc2

Browse files
authored
Fix doc example for List.Extra.takeRight (#98)
1 parent abfa718 commit 7b7dcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/List/Extra.elm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ splitWhen predicate list =
15961596

15971597
{-| Take the last _n_ members of a list.
15981598
1599-
take 2 [ 1, 2, 3, 4, 5 ] == [ 1, 2 ]
1599+
takeRight 2 [ 1, 2, 3, 4, 5 ] == [ 4, 5 ]
16001600
16011601
-}
16021602
takeRight : Int -> List a -> List a

0 commit comments

Comments
 (0)