[isabelle-dev] »real« considered harmful
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.
> 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.
> PGP available:
More information about the isabelle-dev