diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-04 19:06:20 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-04 19:06:20 +0200 |
| commit | 0f7c70fd93db23ec866ae13aa2f146b7787afabf (patch) | |
| tree | 7a67019fa77931e1722789cfd27997dd82a9b521 /src/eval/scope.rs | |
| parent | 6672f8f7dfcb38bbda3ec92bdf95341c05e9a782 (diff) | |
Separate state and constraints 🧶
Diffstat (limited to 'src/eval/scope.rs')
| -rw-r--r-- | src/eval/scope.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eval/scope.rs b/src/eval/scope.rs index 8e6576d1..d4b24880 100644 --- a/src/eval/scope.rs +++ b/src/eval/scope.rs @@ -6,6 +6,7 @@ use std::fmt::{self, Debug, Formatter}; use super::value::FuncValue; /// A map from identifiers to functions. +#[derive(Clone, PartialEq)] pub struct Scope { functions: HashMap<String, FuncValue>, } |
