mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
Update interpolation syntax in roc-for-elm-programmers.md
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
This commit is contained in:
parent
5dd8263394
commit
11ecfe0bc6
@ -29,7 +29,7 @@ Roc strings work like Elm strings except that they support string interpolation.
|
||||
Here's a Roc string which uses interpolation:
|
||||
|
||||
```elm
|
||||
"Hi, my name is \(name)!"
|
||||
"Hi, my name is $(name)!"
|
||||
```
|
||||
|
||||
The Elm equivalent would be:
|
||||
|
Loading…
Reference in New Issue
Block a user