concrete syntax for all constructors, to workaround authentic syntax problem with domain package;
authorwenzelm
Sun, 21 Feb 2010 21:12:26 +0100
changeset 35259 afbb9cc4a7db
parent 35258 8154c5211ddb
child 35260 41e82c1b5586
concrete syntax for all constructors, to workaround authentic syntax problem with domain package;
src/HOLCF/IOA/meta_theory/Seq.thy
src/HOLCF/IOA/meta_theory/Sequence.thy
--- a/src/HOLCF/IOA/meta_theory/Seq.thy	Sun Feb 21 21:11:44 2010 +0100
+++ b/src/HOLCF/IOA/meta_theory/Seq.thy	Sun Feb 21 21:12:26 2010 +0100
@@ -8,7 +8,7 @@
 imports HOLCF
 begin
 
-domain 'a seq = nil | cons (HD :: 'a) (lazy TL :: "'a seq")  (infixr "##" 65)
+domain 'a seq = nil  ("nil") | cons (HD :: 'a) (lazy TL :: "'a seq")  (infixr "##" 65)
 
 consts
    sfilter       :: "('a -> tr) -> 'a seq -> 'a seq"
--- a/src/HOLCF/IOA/meta_theory/Sequence.thy	Sun Feb 21 21:11:44 2010 +0100
+++ b/src/HOLCF/IOA/meta_theory/Sequence.thy	Sun Feb 21 21:12:26 2010 +0100
@@ -40,7 +40,7 @@
   "_partlist"     :: "args => 'a Seq"              ("[(_)?]")
 translations
   "[x, xs!]"     == "x>>[xs!]"
-  "[x!]"         == "x>>CONST nil"
+  "[x!]"         == "x>>nil"
   "[x, xs?]"     == "x>>[xs?]"
   "[x?]"         == "x>>CONST UU"