Michael Schimmel a726b79d8a Refactor Purity enum and NativeFunction struct
Move `Purity` enum definition from `optimizer.rs` to `types.rs` and
create a `NativeFunction` struct to hold the function and its purity.
Update `Value::Function` to store `Rc<NativeFunction>` and
`Value::make_function`
helper to simplify creation.

This change allows tracking the purity of native functions, which is
useful
for optimization and static analysis.
2026-02-22 10:50:37 +01:00
2026-02-22 10:41:54 +01:00
2026-02-22 02:07:35 +01:00
2026-02-22 09:08:16 +01:00
2026-02-22 09:08:16 +01:00
S
Description
No description provided
6.5 MiB
Languages
Rust 100%