chickadee » integer-map » fxmapping<=?

fxmapping<? comp fxmap₁ fxmap₂ fxmap₃ procedure
fxmapping<=? comp fxmap₁ fxmap₂ fxmap₃ procedure
fxmapping>? comp fxmap₁ fxmap₂ fxmap₃ procedure
fxmapping>=? comp fxmap₁ fxmap₂ fxmap₃ procedure

Returns #t iff each fxmap other than the last is a proper subset/subset/proper superset/superset of the following fxmap. Values are compared using the equality predicate of comp.

Examples:

(fxmapping<? (make-default-comparator)
             (fxmapping 1 'a 2 'b)
             (fxmapping 2 'b 1 'a 3 'c))
 ⇒ #t

(fxmapping>? (make-default-comparator)
             (fxmapping 2 'b 1 "worf" 3 'c)
             (fxmapping 1 'a 2 'b))
 ⇒ #f

(fxmapping>=? (make-default-comparator)
              (fxmapping 2 'b 1 'a 3 'c)
              (fxmapping 1 'a 2 'b)
              (fxmapping 2 'b 1 'a)
              (fxmapping 1 'a))
 ⇒ #t