tupelo.lexical

Utils for lexical sorting and searching

compare-generic

(compare-generic x y)

compare-lex

(compare-lex a b)
Inputs: [a :- tsk/Vec b :- tsk/Vec]
Returns: s/Int

comparison-class

(comparison-class x)
Inputs: [x :- s/Any]
Returns: s/Str

Returns a string specifying the comparison class to be used for sorting a piece of data.