char-ci=?(3scm)
β¨ NAME β¨
okay so this is the char-ci=?(3scm) page from the Scheme Programmer's Manual, and it's all about char-ci=?, char-ci<?, char-ci>?, char-ci<=?, char-ci>=? β the case-folded comparison girlies π
. They do case-folded comparison, no cap.
π LIBRARY π
(import (rnrs)) ;R6RS
(import (rnrs unicode)) ;R6RS
(import (scheme r5rs)) ;R7RS
(import (scheme char)) ;R7RS
πͺ SYNOPSIS πͺ
(char-ci=? char char char ...)
(char-ci<? char char char ...)
(char-ci>? char char char ...)
(char-ci<=? char char char ...)
(char-ci>=? char char char ...)
π DESCRIPTION π
These procedures are literally similar to char=?, etc., but they operate on the case-folded versions of the characters. The -ci mnemonic stands for "case insensitive", periodt.
π«Ά RETURN VALUES π«Ά
Returns a single boolean value. Simple, iconic, done.
πΈ EXAMPLES πΈ
(char-ci<? #\z #\Z) => #f
(char-ci=? #\z #\Z) => #t
(char-ci=? #\Ο #\Ο) => #t ;not required by R7RS
β οΈ COMPATIBILITY β οΈ
These procedures are defined in terms of char-foldcase(3scm). Whatever compatibility concerns apply to that procedure also apply here, in addition to any concerns applicable to char<? etc.
These procedures exist in R5RS and earlier reports, but they were only required to support two arguments. IEEE Scheme uses the β€ and β₯ characters instead of <= and >= in the procedure entries, but this is probably a typo.
π ERRORS π
This procedure can raise exceptions with the following condition types:
&assertion(R6RS) β The wrong number of arguments was passed or an argument was outside its domain.- R7RS β The assertions described above are errors. Implementations may signal an error, extend the procedure's domain of definition to include such arguments, or fail catastrophically.
π SEE ALSO π
char=?(3scm)char-foldcase(3scm)
π STANDARDS π
R4RS, IEEE Scheme, R5RS, R6RS, R7RS
π AUTHORS π
This page is part of the scheme-manpages project. It includes materials from the RnRS documents. More information can be found at https://github.com/schemedoc/manpages/.
Signed off with maximum sparkle on 2021-02-20 β footer tag char-ci=?(3scm) πβ¨
π¦ where this page comes from
- nixpkgs unstable: scheme-manpages 0-unstable-2024-02-11
- π the page's license: MIT
- Copyright (c) 2021 Gwen Weinholt
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms