090 aspire comptime pure koru fold

○ Planned This feature is planned but not yet implemented.

ASPIRATIONAL: pure-Koru comptime computation (a capture-fold) feeding runtime output.

Failure Output

error[PARSE003]: Koru constructs in host-embedded files (`.kz`, `.kjs`, etc.) must start with `~` — the host→Koru switch
  --> tests/regression/300_ADVANCED_FEATURES/310_COMPTIME/310_090_aspire_comptime_pure_koru_fold/input.kz:1:1
    |
  1 | import std/io
    | ^

Code

input.kz

Expected output

45

Test Configuration

MUST_RUN