The ParameterlessAndThen trait supplies an apply function with the signature Fact => (Sequent => Judgement). However, several tactics implement also an overloaded version of apply. For example, with LeftAnd, apply :: Formula => Formula => (Fact => (Sequent => Judgement)). Calling LeftAnd(phi, psi) per this overloaded raises an error:
The
ParameterlessAndThen
trait supplies anapply
function with the signatureFact => (Sequent => Judgement)
. However, several tactics implement also an overloaded version ofapply
. For example, withLeftAnd
,apply :: Formula => Formula => (Fact => (Sequent => Judgement))
. CallingLeftAnd(phi, psi)
per this overloaded raises an error:Small proof to get this error:
It seems that due to the trait, the overloaded apply method is not visible.