From 44cd26f2cebd760a53aa4ff1b7779e718a101650 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 6 Apr 2025 22:45:02 -0400 Subject: Rename Array -> List in all code and docs --- test/optionals.tm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/optionals.tm') diff --git a/test/optionals.tm b/test/optionals.tm index 36f38625..50e700f1 100644 --- a/test/optionals.tm +++ b/test/optionals.tm @@ -25,7 +25,7 @@ func maybe_int64(should_i:Bool->Int64?) else return none -func maybe_array(should_i:Bool->[Int]?) +func maybe_list(should_i:Bool->[Int]?) if should_i return [10, 20, 30] else @@ -114,10 +114,10 @@ func main() else say("Falsey: $nope") do - say("Arrays:") - >> yep := maybe_array(yes) + say("Lists:") + >> yep := maybe_list(yes) = [10, 20, 30]? - >> nope := maybe_array(no) + >> nope := maybe_list(no) = none >> if yep >> yep -- cgit v1.2.3