From f5a50854dc74de7deaba21ad13e59af2764b8984 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Fri, 14 Jun 2024 15:30:11 -0400 Subject: [PATCH] use words & sentence --- eliza.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eliza.ld b/eliza.ld index de5ea6b..25c8cb7 100644 --- a/eliza.ld +++ b/eliza.ld @@ -19,9 +19,9 @@ fn switch_persons { fn repersonalize (x) -> do x > trim > - split (_, " ") > + words > map (switch_persons, _) > - join (_, " ") + sentence fn one_of { (str as :string) -> str