summaryrefslogtreecommitdiff
path: root/dhall/src
diff options
context:
space:
mode:
authorNadrieril2019-04-11 14:01:52 +0200
committerNadrieril2019-04-11 14:01:52 +0200
commit544024abc717f4768fd7bde8327fc2718b5c94e7 (patch)
treedb876a2b5b663b368f788d38da619689e93fbdc1 /dhall/src
parent822d828f2f82790b1d0efaac402fe119c56d9006 (diff)
`Some` is not a builtin, it's a keyword
Closes #58
Diffstat (limited to '')
-rw-r--r--dhall/src/normalize.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/dhall/src/normalize.rs b/dhall/src/normalize.rs
index 608e6ee..93ccdf6 100644
--- a/dhall/src/normalize.rs
+++ b/dhall/src/normalize.rs
@@ -23,7 +23,6 @@ where
use dhall_core::ExprF::*;
use WhatNext::*;
let (ret, rest) = match (b, args) {
- (OptionalSome, [x, rest..]) => (rc(NEOptionalLit(x.roll())), rest),
(OptionalNone, [t, rest..]) => (rc(EmptyOptionalLit(t.roll())), rest),
(NaturalIsZero, [NaturalLit(n), rest..]) => {
(rc(BoolLit(*n == 0)), rest)