Noogλe
search input
Function of the day
Returns the last (at most) N elements of a list.
Inputs
count-
Maximum number of elements to pick
list-
Input list
Type
takeEnd :: Int -> [a] -> [a]Examples
lib.lists.takeEndusage exampletakeEnd 2 [ "a" "b" "c" "d" ] => [ "c" "d" ] takeEnd 2 [ ] => [ ]