Skip to main content

next-set-item.mylang (Source)

from std.containers let Collection
from std.system.current-process let stderr
let run`+entrypoint` does:
    nothing = { }
    things = { 42 }
    print-set-element things
    print-set-element nothing
let print-set-element`Collection` elements`Collection, return : 1` does:
    with? element = ( ( elements.as-iterator ).next )
    do stderr "set element: {element}"