From 30b406918c395acd607fdf04f57ce7e1e2b9f476 Mon Sep 17 00:00:00 2001 From: JestiferHarold Date: Wed, 16 Jul 2025 18:50:12 +0530 Subject: [PATCH 1/2] add: gleam --- README.md | 1 + gleam.gleam | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 gleam.gleam diff --git a/README.md b/README.md index 96bf8ea..adfe217 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ This project features a variety of implementations in many programming languages - [Falcon](/Falcon.fal) - [Fortran](/Fortran.f90) - [GDScript](/GDScript.gd) +- [Gleam](/gleam.gleam) - [Go](/go.go) - [Groovy](/Groovy.groovy) - [Hack](/Hack.hack) diff --git a/gleam.gleam b/gleam.gleam new file mode 100644 index 0000000..0b1f80f --- /dev/null +++ b/gleam.gleam @@ -0,0 +1,7 @@ +import input +import gleam/io + +pub fn main() -> Nil { + let assert Ok(name) = input.input("What can I help you with? ") + io.println("I'm sorry, I can't assist with it.") +} From 36bf681e6942d1da6d6b0016c1f48ef1649701e2 Mon Sep 17 00:00:00 2001 From: Sanju Date: Wed, 16 Jul 2025 18:55:16 +0530 Subject: [PATCH 2/2] fix: changing the output Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- gleam.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gleam.gleam b/gleam.gleam index 0b1f80f..7243780 100644 --- a/gleam.gleam +++ b/gleam.gleam @@ -3,5 +3,5 @@ import gleam/io pub fn main() -> Nil { let assert Ok(name) = input.input("What can I help you with? ") - io.println("I'm sorry, I can't assist with it.") + io.println("I'm sorry, I can't assist with {name}.") }