diff options
Diffstat (limited to 'dhall/src/semantics/core')
-rw-r--r-- | dhall/src/semantics/core/var.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dhall/src/semantics/core/var.rs b/dhall/src/semantics/core/var.rs index 0aa86d5..0d2c1d4 100644 --- a/dhall/src/semantics/core/var.rs +++ b/dhall/src/semantics/core/var.rs @@ -14,6 +14,9 @@ pub struct Binder { } impl AlphaVar { + pub(crate) fn new(alpha: V<()>) -> Self { + AlphaVar { alpha } + } pub(crate) fn default() -> Self { AlphaVar { alpha: V((), 0) } } |