Changeset 12212 for src/Pugs/Val
- Timestamp:
- 08/14/06 12:02:19 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Val/Base.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Val/Base.hs
r12198 r12212 103 103 -- PureStr 104 104 105 instance ((:>:) String) ByteString where cast = Char8.unpack 106 instance ((:<:) String) ByteString where castBack = Char8.pack 107 108 newtype PureStr = MkStr ByteString 109 deriving (Typeable, Show, Eq, Ord, Data, (:>:) String, (:<:) String, (:>:) ByteString, (:<:) ByteString) 105 newtype PureStr = MkStr ByteString deriving 106 ( Typeable, Show, Eq, Ord, Data 107 , (:>:) ID, (:<:) ID 108 , (:>:) String, (:<:) String 109 , (:>:) ByteString, (:<:) ByteString 110 ) 110 111 111 112 parseInt :: PureStr -> Int
