Changeset 12000 for src/Pugs/Val
- Timestamp:
- 08/08/06 16:45:22 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Val/Str.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Val/Str.hs
r11993 r12000 11 11 deriving (Typeable, Show, Eq, Ord, Data, (:>:) String, (:<:) String, (:>:) ByteString, (:<:) ByteString) 12 12 13 instance Coercible P PureStr where13 instance ICoercible P PureStr where 14 14 asStr = return . cast 15 15 16 class (Monad m, Functor m, Eq a, Data a, Typeable a) => Coercible m a | a -> m where16 class (Monad m, Functor m, Eq a, Data a, Typeable a) => ICoercible m a | a -> m where 17 17 asBit :: a -> m PureBit 18 18 asBit _ = return True
