I’m wondering if there is a simple “bi-map” class that can take a list of pairs and produce the effect of both functions.