Cur
3.1 Datum
3.2 Sugar
3.3 Bool
3.4 Nat
3.6 Maybe
3.7 List
3.8 Equality
3.9 ASCII
3.11 Typeclass
On this page:
9.0
top
up

3.10Racket ASCIIπŸ”— i

This library defines Racket tools for manipulating ASCII string. It will eventually be moved out of Cur; do not rely on it.

procedure

( ascii-char? c)boolean?

c:char?
Returns #t when c is valid as a 7-bit ASCII character, and #f otherwise.

procedure

( ascii-string? str)boolean?

str:string?
Returns #t when str contains only characters that are valid as a 7-bit ASCII character, and #f otherwise.

b:byte?
Converts b into a bit-vector of a length 7, interpreted as a ASCII character; the sign bit of b is ignored.

procedure

( ascii-bit-vector->byte bv)byte?

Converts a bv of length 7, interpreted as an ASCII character, into a byte.

top
up

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /