length
O(n). length returns the length of a finite list as an Int. It is an instance of the more general Data.List.genericLength, the result type of which may be any kind of number.
Return the number of elements in an array, excluding the terminator
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
O(1). 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) Return the length of a Text in units of Word16. This is useful for sizing a target array appropriately before using unsafeCopyToPtr.
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.
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.
Count the number of immediate subterms of the given term
The number of days in a given month according to the proleptic Gregorian calendar. First argument is year, second is month.
The number of days in a given month according to the proleptic Julian calendar. First argument is year, second is month.
Length of line, in chars
non-negative length of a match
the length of a given month in the Gregorian or Julian calendars. First arg is leap year flag
Show more results