[isabelle-dev] »real« considered harmful

Larry Paulson lp15 at cam.ac.uk
Sat Jun 6 20:12:36 CEST 2015


My proposal of [: :] is suggestive of typing and should be good enough, considering that such “type casts” would seldom be necessary.

Larry

> On 6 Jun 2015, at 16:06, Florian Haftmann <florian.haftmann at informatik.tu-muenchen.de> wrote:
> 
>> Conceivably we could introduce a prefix syntax for type constraints, e.g.
>> 
>> 	[:real:]of_nat k
>> 
>> I’d find such a thing useful from time to time.
> 
> My personal favourite would be System-F-style type instantiation
> 
> 	of_nat [real] k
> 
> instead of type annotations but there are hardly any brackets left which
> could serve here.
> 
> 	Florian
> 
> -- 
> 
> PGP available:
> http://home.informatik.tu-muenchen.de/haftmann/pgp/florian_haftmann_at_informatik_tu_muenchen_de
> 




More information about the isabelle-dev mailing list