LustreCheckMatchExpressions
module A = LustreAst
module Ctx = TypeCheckerContext
type error_kind =
| RedundantPattern of A.pattern
| IncompletePatternMatch
type error = [
| `LustreCheckMatchExpressionsError of Lib.position * error_kind
]
val error_message : error_kind -> string
val check_redundancy : 'a -> 'b
val check_exhaustiveness : 'a -> 'b
val check_match_expressions : Ctx.tc_context -> A.t -> (A.t, [> error ]) Stdlib.result