take is:exact package:containers

Take a given number of entries in key order, beginning with the smallest keys.
take n = fromDistinctAscList . take n . toAscList
The first i elements of a sequence. If i is negative, take i s yields the empty sequence. If the sequence contains fewer than i elements, the whole sequence is returned.
Take a given number of elements in order, beginning with the smallest ones.
take n = fromDistinctAscList . take n . toAscList