mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 15:59:20 +03:00
add is_empty to Procs
This commit is contained in:
parent
f74471012c
commit
9761aabe65
@ -43,6 +43,10 @@ impl<'a> Procs<'a> {
|
||||
.sum()
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.len() == 0
|
||||
}
|
||||
|
||||
fn insert_builtin(&mut self, symbol: Symbol) {
|
||||
self.builtin.insert(symbol);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user