remove final wrapper and replace with equivalent air elements

This commit is contained in:
Kasey White
2023-04-09 16:10:55 -04:00
committed by Kasey
parent 9e95e24624
commit e69a70f49c
2 changed files with 30 additions and 22 deletions

View File

@@ -206,10 +206,6 @@ impl<T> Term<T> {
.force()
}
pub fn final_wrapper(self) -> Self {
self.delayed_if_else(Term::unit(), Term::Error)
}
pub fn repeat_tail_list(self, repeat: usize) -> Self {
let mut term = self;