Changeset 4803 for src/Pugs/Internals.hs
- Timestamp:
- 06/18/05 18:16:54 (4 years ago)
- svk:copy_cache_prev:
- 6617
- Files:
-
- 1 modified
-
src/Pugs/Internals.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Internals.hs
r4153 r4803 127 127 instance Show Unique where 128 128 show = show . hashUnique 129 instance Show (a -> b) where 130 show _ = "(->)" 129 instance (Typeable a, Typeable b) => Show (a -> b) where 130 show _ = "(" ++ typA ++ " -> " ++ typB ++ ")" 131 where 132 typA = show $ typeOf (undefined :: a) 133 typB = show $ typeOf (undefined :: b) 131 134 instance Eq (a -> b) where 132 135 _ == _ = False
