enki 0.0.1

Asemantic computation and Church-style isomorphism using combinatory logic.
Documentation
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum Element {
    S,
    K,
    I,
    A, // App
    F, // Fanout
    N, // Fanin
    R, // Arrow
}

impl Element {
    pub fn max_bonds(&self) -> u8 {
        match self {
            Element::S => 3,
            Element::K => 1,
            Element::I => 1,
            Element::A => 3,
            Element::F => 1,
            Element::N => 1,
            Element::R => 2,
        }
    }
}