import Prel ( (.), not )
import PreludeGlaST
import Text
+import TyArray
+import TyComplex
data IOError13 = AlreadyExists String
| HardwareFault String
-- not really OK: deriving (Text)
instance Text IOError13 where -- NB: not interested in reading
+ readsPrec p = error "readsPrec: IOError13"
+
showsPrec p (AlreadyExists s) = show2 "AlreadyExists: " s
showsPrec p (HardwareFault s) = show2 "HardwareFault: " s
showsPrec p (IllegalOperation s) = show2 "IllegalOperation: " s
showsPrec p (UserError s) = showString s
showsPrec p EOF = showString "EOF"
+ readList = _readList (readsPrec 0)
+ showList = _showList (showsPrec 0)
+
show2 x y = showString x . showString y
_constructError :: PrimIO IOError13