SketchyLISP Reference |
Copyright (C) 2006 Nils M Holm |
<<[char-ci<=?] | [Index] | [char-ci>?]>> |
Conformance: R5RS
Purpose: Case-insensitively test whether two chars are equal.
Arguments:
X - char
Y - char
Model:
(define (char-ci=? x y) (= (char->integer (char-downcase x)) (char->integer (char-downcase y))))
Implementation:
; This function is a primitive function.
Example:
(char-ci=? #\C #\c) => #t
See also:
char=?,
char-ci<?,
char-ci>?,
char-ci<=?,
char-ci>=?,
string=?,
equal?.
<<[char-ci<=?] | [Index] | [char-ci>?]>> |