Update interpolation syntax in roc-for-elm-programmers.md

Signed-off-by: Richard Feldman <oss@rtfeldman.com>
This commit is contained in:
Richard Feldman 2024-01-17 21:08:12 -05:00 committed by GitHub
parent 5dd8263394
commit 11ecfe0bc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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