Changeset 12000 for src/Pugs/Val

Show
Ignore:
Timestamp:
08/08/06 16:45:22 (2 years ago)
Author:
gaal
Message:

* New naming convention gives "I" prefix to general interfaces.

For now, this is used only in IValue and ICoercible.

* Maybe use "A" for ASTish typeclasses (e.g. APure instead of IPure)?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Val/Str.hs

    r11993 r12000  
    1111    deriving (Typeable, Show, Eq, Ord, Data, (:>:) String, (:<:) String, (:>:) ByteString, (:<:) ByteString) 
    1212 
    13 instance Coercible P PureStr where 
     13instance ICoercible P PureStr where 
    1414    asStr  = return . cast 
    1515 
    16 class (Monad m, Functor m, Eq a, Data a, Typeable a) => Coercible m a | a -> m where 
     16class (Monad m, Functor m, Eq a, Data a, Typeable a) => ICoercible m a | a -> m where 
    1717    asBit    :: a -> m PureBit 
    1818    asBit _ = return True