27.2.6.2 Bytevector dictionary comparison
Dictionary comparison is like lexicographic bytevector comparison, but
bytes representing white space characters in ASCII encoding are
ignored. Recognised white spaces are:
#\space #\tab #\vtab
#\linefeed #\return #\page
that is bytes with value:
- Function: bytevector-s8-dictionary-compare bv1 bv2
- Function: bytevector-u8-dictionary-compare bv1 bv2
- Function: %bytevector-s8-dictionary-compare bv1 bv2
- Function: %bytevector-u8-dictionary-compare bv1 bv2
Compare the bytevector arguments and return a ternary result: ‘-1’
if bv1 is less than bv2, ‘0’ if bv1 is equal to
bv2, ‘+1’ if bv1 is greater than bv2. The
comparison is case sensitive.
- Function: bytevector-s8-dictionary=? bv1 bv2
- Function: bytevector-u8-dictionary=? bv1 bv2
- Function: bytevector-s8-dictionary<>? bv1 bv2
- Function: bytevector-u8-dictionary<>? bv1 bv2
- Function: bytevector-s8-dictionary<? bv1 bv2
- Function: bytevector-u8-dictionary<? bv1 bv2
- Function: bytevector-s8-dictionary<=? bv1 bv2
- Function: bytevector-u8-dictionary<=? bv1 bv2
- Function: bytevector-s8-dictionary>? bv1 bv2
- Function: bytevector-u8-dictionary>? bv1 bv2
- Function: bytevector-s8-dictionary>=? bv1 bv2
- Function: bytevector-u8-dictionary>=? bv1 bv2
- Function: %bytevector-s8-dictionary=? bv1 bv2
- Function: %bytevector-u8-dictionary=? bv1 bv2
- Function: %bytevector-s8-dictionary<>? bv1 bv2
- Function: %bytevector-u8-dictionary<>? bv1 bv2
- Function: %bytevector-s8-dictionary<? bv1 bv2
- Function: %bytevector-u8-dictionary<? bv1 bv2
- Function: %bytevector-s8-dictionary<=? bv1 bv2
- Function: %bytevector-u8-dictionary<=? bv1 bv2
- Function: %bytevector-s8-dictionary>? bv1 bv2
- Function: %bytevector-u8-dictionary>? bv1 bv2
- Function: %bytevector-s8-dictionary>=? bv1 bv2
- Function: %bytevector-u8-dictionary>=? bv1 bv2
Return #t
or #f
, depending on whether the arguments comply
with the predicate. The comparison is case sensitive.
- Function: bytevector-s8-dictionary-compare-ci bv1 bv2
- Function: bytevector-u8-dictionary-compare-ci bv1 bv2
- Function: %bytevector-s8-dictionary-compare-ci bv1 bv2
- Function: %bytevector-u8-dictionary-compare-ci bv1 bv2
Compare the bytevector arguments and return a ternary result: ‘-1’
if bv1 is less than bv2, ‘0’ if bv1 is equal to
bv2, ‘+1’ if bv1 is greater than bv2. The
comparison is case insensitive.
- Function: bytevector-s8-dictionary-ci=? bv1 bv2
- Function: bytevector-u8-dictionary-ci=? bv1 bv2
- Function: bytevector-s8-dictionary-ci<>? bv1 bv2
- Function: bytevector-u8-dictionary-ci<>? bv1 bv2
- Function: bytevector-s8-dictionary-ci<? bv1 bv2
- Function: bytevector-u8-dictionary-ci<? bv1 bv2
- Function: bytevector-s8-dictionary-ci>? bv1 bv2
- Function: bytevector-u8-dictionary-ci>? bv1 bv2
- Function: bytevector-s8-dictionary-ci<=? bv1 bv2
- Function: bytevector-u8-dictionary-ci<=? bv1 bv2
- Function: bytevector-s8-dictionary-ci>=? bv1 bv2
- Function: bytevector-u8-dictionary-ci>=? bv1 bv2
- Function: %bytevector-s8-dictionary-ci=? bv1 bv2
- Function: %bytevector-u8-dictionary-ci=? bv1 bv2
- Function: %bytevector-s8-dictionary-ci<>? bv1 bv2
- Function: %bytevector-u8-dictionary-ci<>? bv1 bv2
- Function: %bytevector-s8-dictionary-ci<? bv1 bv2
- Function: %bytevector-u8-dictionary-ci<? bv1 bv2
- Function: %bytevector-s8-dictionary-ci>? bv1 bv2
- Function: %bytevector-u8-dictionary-ci>? bv1 bv2
- Function: %bytevector-s8-dictionary-ci<=? bv1 bv2
- Function: %bytevector-u8-dictionary-ci<=? bv1 bv2
- Function: %bytevector-s8-dictionary-ci>=? bv1 bv2
- Function: %bytevector-u8-dictionary-ci>=? bv1 bv2
Return #t
or #f
, depending on whether the arguments comply
with the predicate. The comparison is case insensitive.