Module tactics

Module tactics 

Source
Expand description

Tactics for term search

All the tactics take following arguments

  • ctx - Context for the term search
  • defs - Set of items in scope at term search target location
  • lookup - Lookup table for types
  • should_continue - Function that indicates when to stop iterating

And they return iterator that yields type trees that unify with the goal type.

Functionsยง

assoc_const ๐Ÿ”’
Associated constant tactic
data_constructor ๐Ÿ”’
Data constructor tactic
famous_types ๐Ÿ”’
Famous types tactic
free_function ๐Ÿ”’
Free function tactic
impl_method ๐Ÿ”’
Impl method tactic
impl_static_method ๐Ÿ”’
Impl static method (without self type) tactic
make_tuple ๐Ÿ”’
Make tuple tactic
struct_projection ๐Ÿ”’
Struct projection tactic
trivial ๐Ÿ”’
Trivial tactic