This code fails to check:
module Test where
open import Class.Prelude
open import Class.Functor
private variable X Y : Type
test : ∀ {f : X} {x : Maybe (List Y)} → fmap (_++ []) x ≡ just []
test = {!!}
See agda/agda#8316 for full context. In this case, we get the following error:
Resolve instance argument _r_13 : Functor _F_32
Candidates
Functor-Maybe : Functor Maybe
Functor-Vec : ({n : ℕ} → Functor (flip Vec n))
(stuck)
Note that there is absolutely no reason that Vec should show up here. So I'd suggest we mark Functor-Vec as INCOHERENT (or just not as an instance at all) for now. Thoughts @omelkonian?
This code fails to check:
See agda/agda#8316 for full context. In this case, we get the following error:
Note that there is absolutely no reason that
Vecshould show up here. So I'd suggest we markFunctor-VecasINCOHERENT(or just not as an instance at all) for now. Thoughts @omelkonian?