chore: add ambiguity comment
This commit is contained in:
parent
19ec5cda13
commit
5d9f3f6fba
1 changed files with 4 additions and 0 deletions
|
|
@ -63,3 +63,7 @@ instance bad (K E : Type) [Field K] [VectorSpace K E] [CompleteSpace K] : Comple
|
|||
-- Warning: argument #3 is a class that occurs in downstream arguments and not the return type.
|
||||
-- You may want to replace [Field K] with {Field K} so typeclass resolution infers this instance after solving downstream instances.
|
||||
-/
|
||||
|
||||
/-
|
||||
The syntax `[Field K]` is ambiguous. It can be interpreted also as {Field K : _}. Note that we use this version all the time (e.g., {α β}).
|
||||
-/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue