2 Relations and Operators
Identical to Racket’s equal? except that it supports an optional key function that is applied to the arguments prior to comparison, if provided.
(= 3 4) (= #:key string-upcase "abc" "ABC")
procedure
key : (-> any/c orderable?) = #f v : any/c
procedure
key : (-> any/c orderable?) = #f v : any/c
procedure
key : (-> any/c orderable?) = #f v : any/c
procedure
key : (-> any/c orderable?) = #f v : any/c
procedure
key : (-> any/c orderable?) = #f v : any/c
procedure
key : (-> any/c orderable?) = #f v : any/c
Generic order relations supporting any orderable type, and extensible via (implements orderable ...). Identical to <, <=, >=, >, min, and max from relation/order.
procedure
(~ v ...) → appendable?
v : appendable?
Append the provided values together, using the type’s implementation of the appendable protocol. The special value ID serves as the generic identity value when the type of the operands is not known. In particular, this value is the result when no operands are provided.
Identical to ~ from relation/composition.
(~ [1 2 3] [4 5 6] [7 8 9]) (~ "abc" "def" "ghijk")