38std::tuple<const Axiom*, u8, u8> Axiom::get(
const Def* def) {
39 if (
auto axiom = def->isa<
Axiom>())
return {axiom, axiom->curry(), axiom->trip()};
40 if (
auto app = def->isa<
App>())
return {app->axiom(), app->curry(), app->trip()};
41 return {
nullptr, 0, 0};