#include "mim/check.h"#include <fe/assert.h>#include "mim/rewrite.h"#include "mim/rule.h"#include "mim/world.h"Go to the source code of this file.
Namespaces | |
| namespace | mim |
Functions | |
| static std::optional< nat_t > | mim::known_rank (const Def *def) |
The statically known rank of def: 0 if it isn't a Seq at all, nullopt if its own rank is dynamic. | |
| static Hole * | mim::isa_flex_rank (const Def *def) |
| The rank of «s; T» with s: «r; Nat» is unknown as long as r is, and so is Def::arity. | |
| static bool | mim::is_flex (const Def *def) |
| static const Def * | mim::drop_self (Hole *hole, const Def *def) |