length -package:vector -package:memory package:rio

O(1) length returns the length of a ByteString as an Int.
O(n/c) length returns the length of a ByteString as an Int64
Returns the size/length of a finite structure as an Int. The default implementation is optimized for structures that are similar to cons-lists, because there is no general way to do better.
Number of elements in NonEmpty list.
The number of elements in the sequence.
O(n) Returns the number of characters in a Text. Subject to fusion.
O(n) Returns the number of characters in a Text. Subject to fusion.
O(1) Yield the length of the vector
O(1) Yield the length of the vector
O(1) Yield the length of the vector
O(1) Yield the length of the vector
The genericLength function is an overloaded version of length. In particular, instead of returning an Int, it returns any type which is an instance of Num. It is, however, less efficient than length.
>>> genericLength [1, 2, 3] :: Int
3

>>> genericLength [1, 2, 3] :: Float
3.0
Returns the size/length of a finite structure as an Int.
O(n) Compare the count of characters in a Text to a number. Subject to fusion. This function gives the same answer as comparing against the result of length, but can short circuit if the count of characters is greater than the number, and hence be more efficient.
O(n) Compare the count of characters in a Text to a number. Subject to fusion. This function gives the same answer as comparing against the result of length, but can short circuit if the count of characters is greater than the number, and hence be more efficient.
The number of days in a given month according to the proleptic Gregorian calendar. First argument is year, second is month.
Assumed complexity: O(1) Yield the length of the vector.