mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-31 04:32:30 +01:00
[nix/en] update to string interpolation (#5240)
This commit is contained in:
parent
fd4522df50
commit
c3c2f20a80
2
nix.md
2
nix.md
@ -86,7 +86,7 @@ with builtins; [
|
||||
("ab" + "cd") # String concatenation
|
||||
#=> "abcd"
|
||||
|
||||
# Antiquotation lets you embed values into strings.
|
||||
# String interpolation (formerly known as "antiquotation") lets you embed values into strings.
|
||||
("Your home directory is ${getEnv "HOME"}")
|
||||
#=> "Your home directory is /home/alice"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user