mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-14 03:14:14 +03:00
13a36a3d32
This allows extra hints, as well as constructors, to guide proof search for auto implicit arguments. Added test proof010 which shows how this works to simulate type classes with overlapping instances (and consequently no injectivity restriction or assumption) %hint only works on functions which return an instance of a data type. Proof search exhaustively searches hints and constructors, so use with care especially when adding lots of recursive or overlapping hints. |
||
---|---|---|
.. | ||
expected | ||
proof010.idr | ||
run |