All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

ring-length Function

Summary

Gets the element count and maximum size of a ring.

Package

hcl

Signature

ring-length ring => number-of-elements, size

Arguments
ring
A ring object created by make-ring.
Values
number-of-elements
A non-negative fixnum.
size
A positive fixnum.
Description

The function ring-length returns as multiple values the number of elements number-of-elements in ring and its maximum size size.

See also

make-ring


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35