Apostolis Xekoukoulotakis
2017-10-31 16:17:50 UTC
I am trying to simplify my code by using instance arguments and thus
letting agda fill them.
I am wondering why Agda does not allow to pick variables that are not
instance tagged as solutions if there is a unique such solution in the
context.
A similar feature is the 'auto' in Idris. In this case, auto specifies
which implicit arguments to automatically fill , with anything found in the
context.
letting agda fill them.
I am wondering why Agda does not allow to pick variables that are not
instance tagged as solutions if there is a unique such solution in the
context.
A similar feature is the 'auto' in Idris. In this case, auto specifies
which implicit arguments to automatically fill , with anything found in the
context.