Changes
insane choose now selects a random element from iterable values instead of always returning the first item.
Empty iterable behavior remains null.
Bumped CLI and VS Code package versions to 0.2.1.
Compatibility
Backward compatible patch release. Programs that depended on deterministic first-item selection from insane choose will now observe the intended random behavior.
Install
Windows portable zip: imm-windows-x64.zip
VS Code extension: imm-vscode-0.2.1.vsix
winget manifests: imm-winget-manifests.zip
Windows x64 SHA256: 15B1F29A5CF13D91528CF08A67C7142B02BAB00B54B1011D75B786C2D4F8688A
Verification
cargo fmt --check
cargo test --locked
cargo run -- law
cargo run -- run examples/hello.imm
cargo run -- pack examples/hello.imm --crate dist/release-smoke --pelt native
./dist/release-smoke
npm test in editors/vscode/imm
GitHub Actions release workflow succeeded: https://github.com/susu3304/InsaneMarmotMatrixLanguage/actions/runs/26367060386