From 177a65e48fd8e73168d766c07d19f11294a6f441 Mon Sep 17 00:00:00 2001 From: geri1701 Date: Sun, 11 Feb 2024 20:10:11 +0100 Subject: [PATCH] Fix variable name --- exercises/concept/valentines-day/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/valentines-day/.docs/introduction.md b/exercises/concept/valentines-day/.docs/introduction.md index 58e43a267..ad5e83b3e 100644 --- a/exercises/concept/valentines-day/.docs/introduction.md +++ b/exercises/concept/valentines-day/.docs/introduction.md @@ -45,7 +45,7 @@ Custom type variants can be pattern matched on using case expressions. import gleam/int import gleam/float -pub fn describe(number: Number) -> String { +pub fn describe(flexible_number: Number) -> String { case flexible_number { SomeFloat(f) -> "Float: " <> float.to_string(f) SomeInt(i) -> "Int: " <> int.to_string(i)