:: [t] -> a package:ghc-lib-parser
The genericLength function defined in base can't be
specialised due to the NOINLINE pragma.
It is also not strict in the accumulator, and strictGenericLength is
not exported.
See #25706 for why it is important to use a strict, specialised
version.