[isabelle-dev] adhoc overloading: ugly output

Florian Haftmann florian.haftmann at informatik.tu-muenchen.de
Wed Jan 28 18:15:51 CET 2015

>  fun uncheck ctxt ts =
> -  if Config.get ctxt show_variants orelse exists (is_none o try Term.type_of) ts then ts
> +  if Proof_Context.abbrev_mode ctxt orelse
> +    Config.get ctxt show_variants orelse
> +    exists (can Term.type_of) ts then ts
>    else map (insert_overloaded ctxt) ts;

Nb. is_none o try f <--> not o can f
This got swapped in this patch and is maybe the reason for failing to
solve the problem.



PGP available:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://mailman46.in.tum.de/pipermail/isabelle-dev/attachments/20150128/9bd10394/attachment.sig>

More information about the isabelle-dev mailing list