chibi-scheme/lib/scheme/bitwise.sld
Nguyễn Thái Ngọc Duy a3eda041a3 Add Tangerine library names
Chibi supports quite a few SRFIs that have been part of Tangerine
edition. These .sld are the same as their counterpart .sld, except the
rename.
2020-02-20 19:12:03 +07:00

22 lines
787 B
Scheme

(define-library (scheme bitwise)
(import (srfi 151))
(export bitwise-not
bitwise-and bitwise-ior
bitwise-xor bitwise-eqv
bitwise-nand bitwise-nor
bitwise-andc1 bitwise-andc2
bitwise-orc1 bitwise-orc2
arithmetic-shift bit-count integer-length
bitwise-if
bit-set? any-bit-set? every-bit-set?
first-set-bit
bit-field bit-field-any? bit-field-every?
bit-field-clear bit-field-set
bit-field-replace bit-field-replace-same
bit-field-rotate bit-field-reverse
copy-bit bits->list list->bits
bits->vector vector->bits
bits bit-swap
bitwise-fold bitwise-for-each bitwise-unfold
make-bitwise-generator))