Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -0,0 +1,14 @@
create or replace function list_join(lst, joiner) as (
with recursive cte as (
select 0 as ix, '' as s
union all
select ix+1 as ix,
if (s = '', '', s || joiner) || lst[ix+1]::VARCHAR) as s
from cte
where ix < length(lst)
)
select last(s)
from cte
);
select list_join(range(1,11), ', ');

View file

@ -0,0 +1,4 @@
for i = 1, 10 do
io.write(i)
io.write(i < 10 ? ", " : "\n")
end

View file

@ -0,0 +1,6 @@
?# i =: from 1 upto 10
print i nonl
? i = 10
?> \ break loop
print ', ' nonl
print ''

View file

@ -0,0 +1,6 @@
for i = from 1 upto 10
print i nonl
if i = 10
break
print ', ' nonl
print ''