AltErgoLib.LiteralThis module contains a definition of a "combined" literal type that can contain both syntaxic literals (expressions) and semantic literals (that contain semantic values, see also the Xliteral module).
type 'a view = | LTerm of Expr.t| LSem of 'aView over literals, parameterized by the type of semantic literals. Used for both pattern-matching and creation of literals (through the make and view functions).
val pp_view : 'a Fmt.t -> 'a view Fmt.tPretty-printer for views.
val hash_view : ('a -> int) -> 'a view -> intHash function for views.
module type S = sig ... end