mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-29 15:52:29 +03:00
663e1b8f69
This changes the behaviour of 'auto' implicits so that by default they return the first result, rather than checking for unique results. This is consistent with Idris 1. However, we still want to check for uniqueness somtimes (for example, with interface search, which should reject overlapping results) so the 'uniqueSearch' option means that any auto implicit search for the type should check uniqueness of results. Fixes #169 |
||
---|---|---|
.. | ||
Auto.idr | ||
expected | ||
run |