Introducing traits for sets and reactions

This commit is contained in:
elvis
2025-08-26 16:56:08 +02:00
parent a46ab3833d
commit bf2403cdcf
14 changed files with 376 additions and 311 deletions

View File

@ -1,7 +1,7 @@
use std::rc::Rc;
use super::process::Process;
use super::set::Set;
use super::set::{BasicSet, Set};
use super::translator::{Translator, PrintableWithTranslator, Formatter};
#[derive(Clone, Debug)]
@ -18,7 +18,7 @@ impl Choices {
pub fn new_not_empty() -> Self {
Choices {
context_moves: vec![(Rc::new(Set::new()),
context_moves: vec![(Rc::new(Set::default()),
Rc::new(Process::Nill))],
}
}