lean4-htt/library/init/native
Leonardo de Moura edd5e97045 feat(frontends/lean/elaborator): coercion from (decidable) Prop to bool
This is a hard coded extra case. It is not an instance of has_coe.
Even if we change has_coe to accomodate this case, it will not be a
satisfactory solution because this coercion depends on the element and
not the type, and the element usually contains metavariables.

We should eventually write a tactic for synthesizing coercions.
2017-02-14 18:41:32 -08:00
..
anf.lean feat(frontends/lean, library/init): add 'thunk' gadget 2017-01-31 18:41:59 -08:00
builtin.lean feat(*): C++ code generator 2016-12-05 16:11:41 -08:00
cf.lean feat(frontends/lean, library/init): add 'thunk' gadget 2017-01-31 18:41:59 -08:00
config.lean feat(*): C++ code generator 2016-12-05 16:11:41 -08:00
default.lean feat(frontends/lean/elaborator): coercion from (decidable) Prop to bool 2017-02-14 18:41:32 -08:00
format.lean feat(*): C++ code generator 2016-12-05 16:11:41 -08:00
internal.lean feat(*): C++ code generator 2016-12-05 16:11:41 -08:00
ir.lean feat(*): C++ code generator 2016-12-05 16:11:41 -08:00
pass.lean feat(*): C++ code generator 2016-12-05 16:11:41 -08:00
procedure.lean feat(*): C++ code generator 2016-12-05 16:11:41 -08:00
result.lean feat(library): add pre_monad 2016-12-08 12:48:55 -08:00
util.lean feat(frontends/lean/elaborator): coercion from (decidable) Prop to bool 2017-02-14 18:41:32 -08:00