1
2
3
4
5
6
7
///An index to a nonprimitive [`crate::term::PartiallyAppliedTerm`] or
///a primitive [`crate::func_impl::FuncImpl`] within an [`crate::interpreter_state::InterpreterState`].
#[derive(Clone, Copy, PartialEq, Hash, Eq)]
pub enum TermIndex {
    Primitive(usize),
    NonPrimitive(usize) 
}