https://github.com/idapgroup/IDPCastable
i like the idea of Castable. but i don't like to have too much public functions without an "Namespace" aka Class flying around like cast, castable, match.
i prefer it more encapsulated in one class and also to prefix the first closure also with match to get it uniform with the other matches
i rewrite the class like this: