finch-symbolic 0.1.1

Namesquatting for Rust port of Finch.jl
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Default)]
pub struct SymbolGenerator {
    counter: u128,
}

impl SymbolGenerator {
    pub fn gensym(&mut self, name: &str) -> String {
        let out = format!("#{}#{}", name, self.counter);
        self.counter += 1;
        out
    }
}