Files
RustAst/examples
Michael Schimmel 807903efbb Add Optional type for filter pipes
Introduces `StaticType::Optional` to represent values that can be either
of a specific type `T` or `Void`. This is crucial for handling
situations in filter pipes where an expression might not always produce
a value.

The type checker now correctly deduces and propagates this `Optional`
type, and the pipeline operator (`pipe`) is updated to unwrap
`Optional(T)` results, yielding `T`. This ensures that the type system
accurately reflects the potential absence of values in intermediate
pipeline steps.

Also includes a minor rename in the tuple-struct example from `pipe` to
`p` for clarity, and registers the `streams` module.
2026-03-01 23:19:00 +01:00
..
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 14:27:54 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00
2026-02-28 16:02:38 +01:00