Module Basic.Query
val pp : Stdlib.Format.formatter -> t -> unit
pp fmt s
pretty prints the querys
.
val show : t -> string
show s
converts the querys
to a string
val of_sexp : Sexplib0.Sexp.t -> t
of_sexp s
builds a pattern from a s-expressionNote: Any atom prefixed with "?" will be treated as a pattern variable.
For example, the following pattern will match any multiplication expressions:
List [Atom "*"; Atom "?a"; Atom "?b"]