"Returns a partial function that will compare an element
 to any other element and returns true if the compared
 element is greater than its element.
 This is useful in conjunction with methods that receive
 a predicate function."
shared Boolean greaterThan<Element>(Element val)(Element element)
        given Element satisfies Comparable<Element> => 
                element>val;