Module aya.base
Package org.aya.unify

Class Unifier

All Implemented Interfaces:
Contextful, Problematic, Stateful

public final class Unifier extends TermComparator
  • Field Details

    • allowVague

      public boolean allowVague
  • Constructor Details

    • Unifier

      public Unifier(@NotNull @NotNull TyckState state, @NotNull @NotNull org.aya.syntax.ref.LocalCtx ctx, @NotNull @NotNull org.aya.util.reporter.Reporter reporter, @NotNull @NotNull org.aya.util.error.SourcePos pos, @NotNull @NotNull org.aya.util.Ordering cmp, boolean allowDelay)
  • Method Details

    • createEqn

      @NotNull public TyckState.Eqn createEqn(@NotNull @NotNull org.aya.syntax.core.term.Term lhs, @NotNull @NotNull org.aya.syntax.core.term.Term rhs)
    • derive

      @NotNull public @NotNull Unifier derive(@NotNull @NotNull org.aya.util.error.SourcePos pos, org.aya.util.Ordering ordering)
    • doSolveMeta

      @Nullable protected @Nullable org.aya.syntax.core.term.Term doSolveMeta(@NotNull @NotNull org.aya.syntax.core.term.call.MetaCall meta, @NotNull @NotNull org.aya.syntax.core.term.Term rhs, @Nullable @Nullable org.aya.syntax.core.term.Term type)
      Description copied from class: TermComparator
      Trying to solve with
      Specified by:
      doSolveMeta in class TermComparator
      Parameters:
      rhs - in whnf