mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
fix anchor link; less weird link texts (#9936)
This commit is contained in:
parent
721fddac2f
commit
8b873edcca
1 changed files with 8 additions and 8 deletions
|
@ -84,7 +84,7 @@ The `+` operator is overloaded to also work on strings and paths.
|
||||||
>
|
>
|
||||||
> *string* `+` *string*
|
> *string* `+` *string*
|
||||||
|
|
||||||
Concatenate two [string]s and merge their string contexts.
|
Concatenate two [strings][string] and merge their string contexts.
|
||||||
|
|
||||||
[String concatenation]: #string-concatenation
|
[String concatenation]: #string-concatenation
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ Concatenate two [string]s and merge their string contexts.
|
||||||
>
|
>
|
||||||
> *path* `+` *path*
|
> *path* `+` *path*
|
||||||
|
|
||||||
Concatenate two [path]s.
|
Concatenate two [paths][path].
|
||||||
The result is a path.
|
The result is a path.
|
||||||
|
|
||||||
[Path concatenation]: #path-concatenation
|
[Path concatenation]: #path-concatenation
|
||||||
|
@ -150,9 +150,9 @@ If an attribute name is present in both, the attribute value from the latter is
|
||||||
|
|
||||||
Comparison is
|
Comparison is
|
||||||
|
|
||||||
- [arithmetic] for [number]s
|
- [arithmetic] for [numbers][number]
|
||||||
- lexicographic for [string]s and [path]s
|
- lexicographic for [strings][string] and [paths][path]
|
||||||
- item-wise lexicographic for [list]s:
|
- item-wise lexicographic for [lists][list]:
|
||||||
elements at the same index in both lists are compared according to their type and skipped if they are equal.
|
elements at the same index in both lists are compared according to their type and skipped if they are equal.
|
||||||
|
|
||||||
All comparison operators are implemented in terms of `<`, and the following equivalencies hold:
|
All comparison operators are implemented in terms of `<`, and the following equivalencies hold:
|
||||||
|
@ -163,12 +163,12 @@ All comparison operators are implemented in terms of `<`, and the following equi
|
||||||
| *a* `>` *b* | *b* `<` *a* |
|
| *a* `>` *b* | *b* `<` *a* |
|
||||||
| *a* `>=` *b* | `! (` *a* `<` *b* `)` |
|
| *a* `>=` *b* | `! (` *a* `<` *b* `)` |
|
||||||
|
|
||||||
[Comparison]: #comparison-operators
|
[Comparison]: #comparison
|
||||||
|
|
||||||
## Equality
|
## Equality
|
||||||
|
|
||||||
- [Attribute sets][attribute set] and [list]s are compared recursively, and therefore are fully evaluated.
|
- [Attribute sets][attribute set] and [lists][list] are compared recursively, and therefore are fully evaluated.
|
||||||
- Comparison of [function]s always returns `false`.
|
- Comparison of [functions][function] always returns `false`.
|
||||||
- Numbers are type-compatible, see [arithmetic] operators.
|
- Numbers are type-compatible, see [arithmetic] operators.
|
||||||
- Floating point numbers only differ up to a limited precision.
|
- Floating point numbers only differ up to a limited precision.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue