summaryrefslogtreecommitdiff
path: root/dhall/src/error/text/InvalidAlterantiveType.txt
diff options
context:
space:
mode:
authorNadrieril2019-11-11 18:00:57 +0000
committerNadrieril2019-11-11 18:00:57 +0000
commitada19118f894fbd71642ea683d9376cbbd756f7d (patch)
tree45e210c786d386182ba19d33dfe548522dbf5216 /dhall/src/error/text/InvalidAlterantiveType.txt
parent1ea6fe55eea2f1448f897e2a2805f7e0a1daac9b (diff)
Remove unused error texts
Those were copied from dhall-haskell back before I (Nadrieril) forked dhall-rust from Nanotech. They have never been used.
Diffstat (limited to '')
-rw-r--r--dhall/src/error/text/InvalidAlterantiveType.txt49
1 files changed, 0 insertions, 49 deletions
diff --git a/dhall/src/error/text/InvalidAlterantiveType.txt b/dhall/src/error/text/InvalidAlterantiveType.txt
deleted file mode 100644
index f5dadef..0000000
--- a/dhall/src/error/text/InvalidAlterantiveType.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Explanation: Every union literal begins by selecting one alternative and
-specifying the value for that alternative, like this:
-
-
- Select the ❰Left❱ alternative, whose value is ❰True❱
- ⇩
- ┌──────────────────────────────────┐
- │ < Left = True, Right : Natural > │ A union literal with two alternatives
- └──────────────────────────────────┘
-
-
-However, this value must be a term and not a type. For example, the following
-values are $_NOT valid:
-
-
- ┌──────────────────────────────────┐
- │ < Left = Text, Right : Natural > │ Invalid union literal
- └──────────────────────────────────┘
- ⇧
- This is a type and not a term
-
-
- ┌───────────────────────────────┐
- │ < Left = Type, Right : Type > │ Invalid union type
- └───────────────────────────────┘
- ⇧
- This is a kind and not a term
-
-
-You provided a union literal with an alternative named:
-
-↳ $txt0
-
-... whose value is:
-
-↳ $txt1
-
-... which is not a term
-
-Some common reasons why you might get this error:
-
-● You accidentally typed ❰=❱ instead of ❰:❱ for a union literal with one
- alternative:
-
- ┌────────────────────┐
- │ < Example = Text > │
- └────────────────────┘
- ⇧
- This could be ❰:❱ instead