add Debug for Bimap & BimapTypeDict

This commit is contained in:
Michael Sippel 2024-10-06 14:38:41 +02:00
parent 67477b8439
commit 96c523ada1
Signed by: senvas
GPG key ID: F96CF119C34B64A6
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@ use std::{collections::HashMap, hash::Hash};
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\
#[derive(Debug)]
pub struct Bimap<V: Eq + Hash, Λ: Eq + Hash> {
pub : HashMap<V, Λ>,
pub my: HashMap<Λ, V>,

View file

@ -28,6 +28,7 @@ pub trait TypeDict {
//<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\
#[derive(Debug)]
pub struct BimapTypeDict {
typenames: Bimap<String, TypeID>,
type_lit_counter: u64,