NestedValue::symbol

This commit is contained in:
Tony Garnock-Jones 2021-08-27 16:52:11 +02:00
parent 94fe6ad946
commit 3e56cf3d7e
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ pub trait NestedValue<D: Embeddable>: Sized + Debug + Clone + Eq + Hash + Ord {
Value::Embedded(e.into()).wrap()
}
fn symbol(n: &str) -> Self {
Value::symbol(n).wrap()
}
fn wrap(anns: Annotations<Self, D>, v: Value<Self, D>) -> Self;
fn annotations(&self) -> &Annotations<Self, D>;