1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-10 16:54:33 +02:00

[nix/en] update to string interpolation (#5240)

This commit is contained in:
Tyler Miller
2025-01-21 07:14:55 -05:00
committed by GitHub
parent fd4522df50
commit c3c2f20a80

2
nix.md
View File

@@ -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"