diff options
| author | Nadrieril | 2019-05-07 18:12:04 +0200 |
|---|---|---|
| committer | Nadrieril | 2019-05-07 18:12:04 +0200 |
| commit | 3da450aa3fae23214aa982643b9bc4dd0ea4eaa6 (patch) | |
| tree | 02e00cd008d2e7dc899b9211379596fe792f41c8 /dhall/src/errors/MissingField.txt | |
| parent | d8a3e831fb67f86269c4baa99f9f0798a73a7247 (diff) | |
| parent | 14dfeb8e7d2aa87a361a711a485243449426b144 (diff) | |
Merge branch 'reorganize'
Diffstat (limited to 'dhall/src/errors/MissingField.txt')
| -rw-r--r-- | dhall/src/errors/MissingField.txt | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dhall/src/errors/MissingField.txt b/dhall/src/errors/MissingField.txt deleted file mode 100644 index de14a33..0000000 --- a/dhall/src/errors/MissingField.txt +++ /dev/null @@ -1,30 +0,0 @@ -Explanation: You can only access fields on records, like this: - - - ┌─────────────────────────────────┐ - │ { foo = True, bar = "ABC" }.foo │ This is valid ... - └─────────────────────────────────┘ - - - ┌───────────────────────────────────────────┐ - │ λ(r : { foo : Bool, bar : Text }) → r.foo │ ... and so is this - └───────────────────────────────────────────┘ - - -... but you can only access fields if they are present - -For example, the following expression is $_NOT valid: - - ┌─────────────────────────────────┐ - │ { foo = True, bar = "ABC" }.qux │ - └─────────────────────────────────┘ - ⇧ - Invalid: the record has no ❰qux❱ field - -You tried to access a field named: - -↳ $txt0 - -... but the field is missing because the record only defines the following fields: - -↳ $txt1 |
