take -is:exact -package:containers -package:text -package:utf8-string package:ghc

take n, applied to a list xs, returns the prefix of xs of length n, or xs itself if n >= length xs.
>>> take 5 "Hello World!"
"Hello"

>>> take 3 [1,2,3,4,5]
[1,2,3]

>>> take 3 [1,2]
[1,2]

>>> take 3 []
[]

>>> take (-1) [1,2]
[]

>>> take 0 [1,2]
[]
It is an instance of the more general genericTake, in which n may be of any integral type.
See if this instruction is telling us the current C stack delta
Take the source and destination from this reg -> reg move instruction or Nothing if it's not one
See if this instruction is telling us the current C stack delta
Take the source and destination from this reg -> reg move instruction or Nothing if it's not one
Check whether an instruction represents a reg-reg move. The register allocator attempts to eliminate reg->reg moves whenever it can, by assigning the src and dest temporaries to the same real register.
takeWhile, applied to a predicate p and a list xs, returns the longest prefix (possibly empty) of xs of elements that satisfy p.
>>> takeWhile (< 3) [1,2,3,4,1,2,3,4]
[1,2]

>>> takeWhile (< 9) [1,2,3]
[1,2,3]

>>> takeWhile (< 0) [1,2,3]
[]
Obtain the Unique from this particular UniqSupply, and a new supply
unpackPtrStringTakeN n = take n . unpackPtrString but is performed in <math> rather than <math>, where <math> is the length of the PtrString.
zStringTakeN n = take n . zString but is performed in <math> rather than <math>, where <math> is the length of the FastZString.