type_synonym;
authorwenzelm
Sat, 15 Jan 2011 18:12:26 +0100
changeset 41579 4031fb078acc
parent 41578 f5e7f6712815
child 41580 220bc60c2387
type_synonym;
src/HOL/Unix/Unix.thy
--- a/src/HOL/Unix/Unix.thy	Sat Jan 15 17:32:07 2011 +0100
+++ b/src/HOL/Unix/Unix.thy	Sat Jan 15 18:12:26 2011 +0100
@@ -47,10 +47,9 @@
   names and user ids as would be present in a reality.
 *}
 
-types
-  uid = nat
-  name = nat
-  path = "name list"
+type_synonym uid = nat
+type_synonym name = nat
+type_synonym path = "name list"
 
 
 subsection {* Attributes *}
@@ -80,7 +79,7 @@
   | Writable
   | Executable    -- "(ignored)"
 
-types perms = "perm set"
+type_synonym perms = "perm set"
 
 record att =
   owner :: uid
@@ -132,8 +131,7 @@
   of directory nodes).
 *}
 
-types
-  "file" = "(att \<times> string, att, name) env"
+type_synonym "file" = "(att \<times> string, att, name) env"
 
 text {*
   \medskip The HOL library also provides @{term lookup} and @{term