Copyright | (c) Anton Gushcha, 2015-2016 |
---|---|
License | BSD3 |
Maintainer | ncrashed@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- data HashableTypeRep
- toHashableTypeRep :: TypeRep -> HashableTypeRep
- fromHashableTypeRep :: HashableTypeRep -> TypeRep
- hashableTypeRep :: forall proxy a. Typeable a => proxy a -> HashableTypeRep
Documentation
data HashableTypeRep Source
Wrapper around TypeRep that supports Hashable and Eq, that are performed over type name Note: the implentation is choosen to support equality of actors between several applications
toHashableTypeRep :: TypeRep -> HashableTypeRep Source
Helper to transform usual TypeRep
to hashable one.
fromHashableTypeRep :: HashableTypeRep -> TypeRep Source
Helper to transform hashable type rep to usual TypeRep
.
hashableTypeRep :: forall proxy a. Typeable a => proxy a -> HashableTypeRep Source
Helper to get hashable type rep from type