length -package:bytestring -package:utf8-string -package:filepath -package:vector -package:rio package:numeric-prelude
Some common quantity classes.
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.
Left associative length computation that is appropriate for types like
Integer.
Right associative length computation that is appropriate for types
like Peano number.