From a6bb1761fd5b07f723ae060772ea5020ab2e63be Mon Sep 17 00:00:00 2001 From: scottBowles Date: Fri, 19 Jan 2024 23:25:49 -0500 Subject: Give an escape sequence example --- src/content/chapter0_basics/lesson07_strings/code.gleam | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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") -- cgit v1.2.3