From 8410c5ef026f4ecbbc14ef0b5fbba5cec156fcbf Mon Sep 17 00:00:00 2001 From: crc Date: Wed, 27 Oct 2021 12:12:29 +0000 Subject: [PATCH] fix missing type in s:index/ in example/retro-stats.retro FossilOrigin-Name: fb6ce2ced2018bf5ce6c8b40db5b735ad66eb1bf4ece75c64375f4b62b363f81 --- example/retro-stats.retro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/retro-stats.retro b/example/retro-stats.retro index 22282fb..b745719 100644 --- a/example/retro-stats.retro +++ b/example/retro-stats.retro @@ -59,7 +59,7 @@ Determine the average length of a word name. And without the sigils... ~~~ - #0 #0 [ d:name dup $: s:index/ n:inc + s:length + [ n:inc ] dip ] d:for-each swap / + #0 #0 [ d:name dup $: s:index/char n:inc + s:length + [ n:inc ] dip ] d:for-each swap / '__Average_name_without_namespace:_%n\n s:format s:put ~~~