Package: gtk

Function gtk:ordering-from-cmpfunc

Lambda List

gtk:ordering-from-cmpfunc (result)

Arguments

result -- an integer with the result of a comparison function

Return Value

The gtk:ordering value.

Details

Converts the result of a g:compare-data-func function to a gtk:ordering value.

Since 4.2

Examples

(mapcar #'gtk:ordering-from-cmpfunc '(-1 0 +1))
=> (:SMALLER :EQUAL :LARGER)    
 

See also

2023-9-13