1
0
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:
Tyler Miller 2025-01-21 07:14:55 -05:00 committed by GitHub
parent fd4522df50
commit c3c2f20a80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"