SRFI 178: Bitvector library

by John Cowan

status: draft (2019-12-22)

keywords: Data Structure

See also SRFI 151: Bitwise Operations and SRFI 160: Homogeneous numeric vector libraries.


This SRFI describes a set of operations on homogeneous bitvectors. Operations analogous to those provided on the other homogeneous vector types described in SRFI 160 are provided, along with operations analogous to the bitwise operations of SRFI 151. In addition, a compact string representation compatible with Common Lisp is specified, which may be supported by the read and write procedures and by the program parser so that programs can contain references to literal bitvectors.