chickadee » srfi-152 » string<?

string<? string₁ string₂ string₃ procedure
string>? string₁ string₂ string₃ procedure
string<=? string₁ string₂ string₃ procedure
string>=? string₁ string₂ string₃ procedure

These procedures return #t if their arguments are (respectively): monotonically increasing, monotonically decreasing, monotonically non-decreasing, or monotonically non-increasing.

These comparison predicates are required to be transitive.

In this implementation, these procedures are simply variadic versions of the string comparison procedures from R5RS; that is, they provide lexicographic comparison of strings.

In all cases, a pair of strings must satisfy exactly one of string<?, string=?, and string>?, must satisfy string<=? if and only if they do not satisfy string>?, and must satisfy string>=? if and only if they do not satisfy string<?.