From b285047d60a46dfcc0f91de42fd1ee6709d77a46 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Fri, 8 Dec 2023 15:27:33 -0500 Subject: [PATCH] Fix additional bugs in the prelude --- src/ludus/prelude.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ludus/prelude.ld b/src/ludus/prelude.ld index ed40e2c..efbe17d 100644 --- a/src/ludus/prelude.ld +++ b/src/ludus/prelude.ld @@ -262,7 +262,7 @@ fn string { fn join { "Takes a list of strings, and joins them into a single string, interposing an optional separator." ([]) -> "" - ([str as :string]) -> s + ([str as :string]) -> str (strs as :list) -> join (strs, "") (strs, separator as :string) -> fold ( fn (joined, to_join) -> concat (joined, separator, to_join)