summaryrefslogtreecommitdiff
path: root/dhall_syntax/src/parser.rs
diff options
context:
space:
mode:
authorNadrieril2019-08-07 21:18:11 +0200
committerNadrieril2019-08-07 21:18:11 +0200
commit51c4f79fe092191d670ffa2f9098693079dbc1be (patch)
tree694f9e26b062388a88143d326bf8a05781b36316 /dhall_syntax/src/parser.rs
parentd248762095908246951b6aa6c211587c6e333c0e (diff)
Add truncated Natural subtraction
Diffstat (limited to '')
-rw-r--r--dhall_syntax/src/parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs
index a7f419a..72dfcdd 100644
--- a/dhall_syntax/src/parser.rs
+++ b/dhall_syntax/src/parser.rs
@@ -80,6 +80,7 @@ impl crate::Builtin {
"Natural/odd" => Some(NaturalOdd),
"Natural/toInteger" => Some(NaturalToInteger),
"Natural/show" => Some(NaturalShow),
+ "Natural/subtract" => Some(NaturalSubtract),
"Integer/toDouble" => Some(IntegerToDouble),
"Integer/show" => Some(IntegerShow),
"Double/show" => Some(DoubleShow),