commit | 5b4fa8b6fdb82d1939654c5411280dc068e66d7f | [log] [tgz] |
---|---|---|
author | Adieu <adieu@adieu.me> | Tue Dec 03 19:20:58 2019 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Tue Dec 03 18:24:40 2019 +0000 |
tree | 95b0c04fae1dd874b20483b17c4dcd45f65e3538 | |
parent | d256a2c1df9773659b1d84e125a0c42e8cda68d1 [diff] |
doc: fix typos in language spec Found it while reading the spec for builtin functions. Closes #204 https://github.com/cuelang/cue/pull/204 GitOrigin-RevId: fe890cbd810dce51fe77544c0f311bdfdf4072ae Change-Id: I0a93a86dae24f4ce0fd5048847d73675d50dba55 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4243 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/doc/ref/spec.md b/doc/ref/spec.md index a7bf68b..1d745f3 100644 --- a/doc/ref/spec.md +++ b/doc/ref/spec.md
@@ -2635,10 +2635,12 @@ the `&` operator to all elements in the list. It returns top for the empty list. +``` Expression: Result and([a, b]) a & b and([a]) a and([]) _ +``` ### `or` @@ -2648,9 +2650,9 @@ ``` Expression: Result -and([a, b]) a | b -and([a]) a -and([]) _|_ +or([a, b]) a | b +or([a]) a +or([]) _|_ ```