From e32d68d064c4663818dc5445541f2cd67d2e04dc Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Fri, 1 Dec 2023 22:17:09 +0000 Subject: Rename --- lessons/src/lesson000_hello_world/code.gleam | 5 +++++ lessons/src/lesson000_hello_world/text.html | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 lessons/src/lesson000_hello_world/code.gleam create mode 100644 lessons/src/lesson000_hello_world/text.html (limited to 'lessons/src/lesson000_hello_world') diff --git a/lessons/src/lesson000_hello_world/code.gleam b/lessons/src/lesson000_hello_world/code.gleam new file mode 100644 index 0000000..30530b2 --- /dev/null +++ b/lessons/src/lesson000_hello_world/code.gleam @@ -0,0 +1,5 @@ +import gleam/io + +pub fn main() { + io.println("Hello, Joe!") +} diff --git a/lessons/src/lesson000_hello_world/text.html b/lessons/src/lesson000_hello_world/text.html new file mode 100644 index 0000000..46e3fc2 --- /dev/null +++ b/lessons/src/lesson000_hello_world/text.html @@ -0,0 +1,26 @@ +

Hello, friend 💫

+

+ Welcome to Try Gleam! An interactive tour of the Gleam programming language. +

+

+ It covers all aspects of the Gleam language, and assuming you have some + prior programming experience should teach you everything you need to write + real programs in Gleam. +

+

+ The tour is interactive! The code shown is editable and will be compiled and + evaluated as you type. Anything you print using io.println or + io.debug will be shown in the lower right, along with any compile + errors and warnings. To evaluate Gleam code the tour compiles Gleam to + JavaScript and runs it, all entirely within your browser window. +

+

+ If at any point you get stuck or have a question do not hesitate to ask in + the Gleam Discord server. We're here + to help, and if you find something confusing then it's likely others will too, + and we want to know about it so we can improve the tour. +

+

+ OK, let's go. Click "Next" to get started, or click "Index" to jump to a + specific topic. +

-- cgit v1.2.3