Compare a and b lexicographically by applying each fun to them. For unary functions compares fun(a) < fun(b).
Order a and b lexicographically by applying each fun to them. For unary functions compares fun(a) < fun(b).
Returns one of a collection of expressions based on the value of the switch expression.
Subject to the terms of the MIT license, as written in the included LICENSE file.
© 2019 Arne Ludwig <arne.ludwig@posteo.de>
Some additional alogorithm functions.