From e11974e8fdc384d88ce71bb94a96758032910164 Mon Sep 17 00:00:00 2001 From: nodist Date: Wed, 24 Jun 2026 19:29:06 -0400 Subject: add ok to is_main to return ok result while having ability to error --- ack.kpl | 1 + fib.kpl | 1 + letter_table.kpl | 1 + 3 files changed, 3 insertions(+) diff --git a/ack.kpl b/ack.kpl index 2161836..a68e10c 100644 --- a/ack.kpl +++ b/ack.kpl @@ -29,4 +29,5 @@ ) } `value ack_string `sync (U64 $ args `get -2; U64 $ args `get -1) + `ok ) diff --git a/fib.kpl b/fib.kpl index debb6f0..a288099 100644 --- a/fib.kpl +++ b/fib.kpl @@ -34,4 +34,5 @@ ) } `value fib_string `sync U64 $ args `get -1 + `ok ) diff --git a/letter_table.kpl b/letter_table.kpl index 9eb25a5..1e35db2 100644 --- a/letter_table.kpl +++ b/letter_table.kpl @@ -26,4 +26,5 @@ `log letter_table `sync read `sync open `sync filename ) @ 2 .. `length args {[arg_index] read_log `async args `get arg_index } + `ok ) -- cgit v1.2.3