diff options
author | Nadrieril | 2020-01-30 16:39:25 +0000 |
---|---|---|
committer | Nadrieril | 2020-01-30 16:39:25 +0000 |
commit | 67bbbafbc9730d74e20e5ac082ae9a87bdf2234e (patch) | |
tree | e4b26ead3bf24b90821b7a20e929933c8b1a72fc /dhall/src/semantics/phase/mod.rs | |
parent | 4c4ec8614b84d72fee4d765857325b73dad16183 (diff) |
Introduce Thunks and normalize lazily
Diffstat (limited to '')
-rw-r--r-- | dhall/src/semantics/phase/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/semantics/phase/mod.rs b/dhall/src/semantics/phase/mod.rs index f24a668..a25f096 100644 --- a/dhall/src/semantics/phase/mod.rs +++ b/dhall/src/semantics/phase/mod.rs @@ -91,7 +91,7 @@ impl Resolved { impl Typed { /// Reduce an expression to its normal form, performing beta reduction pub fn normalize(&self) -> Normalized { - Normalized(self.0.normalize_nf_noenv()) + Normalized(self.0.rec_eval_closed_expr()) } /// Converts a value back to the corresponding AST expression. |