summaryrefslogtreecommitdiff
path: root/dhall/src/operations
diff options
context:
space:
mode:
authorNadrieril2020-04-11 15:41:21 +0100
committerNadrieril2020-06-25 15:12:09 +0100
commit72ad56209fe10e3120c19ca5b820ff267423ab1d (patch)
tree4728152ca9b5af25c293b3b16f921b5bcf32a1b8 /dhall/src/operations
parent4c80de149200a86f7fc13c725160dafb35d0ac08 (diff)
spec: fix precedence of `===` and `with`
Diffstat (limited to 'dhall/src/operations')
-rw-r--r--dhall/src/operations/kind.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/src/operations/kind.rs b/dhall/src/operations/kind.rs
index 5415637..0ee9671 100644
--- a/dhall/src/operations/kind.rs
+++ b/dhall/src/operations/kind.rs
@@ -6,6 +6,8 @@ use crate::syntax::{trivial_result, Label};
// pretty-printing to work correctly
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum BinOp {
+ /// x === y
+ Equivalence,
/// `x ? y`
ImportAlt,
/// `x || y`
@@ -30,8 +32,6 @@ pub enum BinOp {
BoolEQ,
/// `x != y`
BoolNE,
- /// x === y
- Equivalence,
}
/// Operations