:: int -> [a] -> [a] package:base

The genericTake function is an overloaded version of take, which accepts any Integral value as the number of elements to take.
The genericDrop function is an overloaded version of drop, which accepts any Integral value as the number of elements to drop.