← All examples

Plugins listed

Each plugin's words work once the strike lists the plugin: here MCPS's concur.

plugins_listed/strike.zg
# Each plugin's words work once the strike lists the plugin (owner, 2026-10-05/06): here MCPS's `concur`.
# `to.`, `check`, `no_check` and generics were ASP's, IEG's and Genny's then and are the base's now; std
# for printing.

fn first <T: any> ['a': <T>, 'b': <T>] -> <T> {
    return 'a';
}

fn hello [] {
    std::print.useful["from a task", newln];
}

MAIN {
    let 'n': int64 = to.int64["41"] otherwise 0;
    check change 'n' = 'n' plus 1;
    no_check change 'n' = 'n' times 1;
    std::print.useful[first['n', 7], newln];
    concur hello[];
}
Output
42
from a task