Next: , Previous: , Up: syslib symbols   [Index]


12.2.3 Comparison functions

Function: $symbol= sym1 sym2

Return #t if the symbol arguments have equal pretty string name according to $string=; otherwise return #f.

Function: $symbol!= sym1 sym2

The arguments must be symbols. Return #t if the arguments are different; otherwise return #f.

Function: $symbol< sym1 sym2
Function: $symbol> sym1 sym2
Function: $symbol<= sym1 sym2
Function: $symbol>= sym1 sym2

Return #t if the symbol arguments have pretty string names satisfying, respectively: $string<, $string>, $string<=, $string>=; otherwise return #f.

Function: $symbol-max sym1 sym2
Function: $symbol-min sym1 sym2

Return the symbol argument having maximal or minimal pretty string name according to $string-max and string-min.