Skip to main content

Module pattern

Module pattern 

Source
Expand description

Pattern matching for message dispatch.

Mirrors PatternMatch.lean from the Lean 4 proof library.

Structs§

MatchArm
A pattern match arm: tag to match and associated handler index.

Functions§

dispatch
Dispatch an expression to the first matching arm.