Re: [isabelle] syntax in auxiliary contexts



> Why is the behavior after defining notation inside an auxiliary context
> different depending on whether this auxiliary context is inside another
> context?
> 
> More specifically, consider
> 
> context
>   fixes P :: "'a => 'a => bool"
> begin
> 
> notation
>   P ("\<^raw:\foo>")
> 
> term P
> 
> end
> 
> Here "term P" results in: "\<^raw:\foo>" (as expected)
> 
> However, as soon as I put the above code inside another context (named
> or unnamed), the syntax seems to be ignored and "term P" results in: "P".
> 
> What am I missing?

To my understanding the context sandwich is not properly operating here,
but let us wait for Makarius to comment on this.


	Florian

-- 

PGP available:
http://home.informatik.tu-muenchen.de/haftmann/pgp/florian_haftmann_at_informatik_tu_muenchen_de

Attachment: signature.asc
Description: OpenPGP digital signature



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.