aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscottBowles <shbowles@gmail.com>2024-01-19 23:25:49 -0500
committerLouis Pilfold <louis@lpil.uk>2024-01-20 09:36:26 +0000
commita6bb1761fd5b07f723ae060772ea5020ab2e63be (patch)
tree1443db0a1bf6ea84732943c2ac4f2bade3ed524e
parente795f55afd4e05e7c3d0b62791988f4afda926bd (diff)
downloadtour-a6bb1761fd5b07f723ae060772ea5020ab2e63be.tar.gz
tour-a6bb1761fd5b07f723ae060772ea5020ab2e63be.zip
Give an escape sequence example
-rw-r--r--src/content/chapter0_basics/lesson07_strings/code.gleam3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/chapter0_basics/lesson07_strings/code.gleam b/src/content/chapter0_basics/lesson07_strings/code.gleam
index c77163e..fedcfff 100644
--- a/src/content/chapter0_basics/lesson07_strings/code.gleam
+++ b/src/content/chapter0_basics/lesson07_strings/code.gleam
@@ -11,6 +11,9 @@ pub fn main() {
)
io.debug("\u{1F600}")
+ // Use io.println to see an escape sequence in action
+ io.println("\"X\" marks the spot")
+
// String concatenation
io.debug("One " <> "Two")