| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CPython.Protocols.Mapping
Contents
Documentation
class Object a => Mapping a where Source #
Methods
toMapping :: a -> SomeMapping Source #
Instances
| Mapping SomeMapping Source # | |
Defined in CPython.Internal Methods toMapping :: SomeMapping -> SomeMapping Source # | |
| Mapping Dictionary Source # | |
Defined in CPython.Protocols.Mapping Methods toMapping :: Dictionary -> SomeMapping Source # | |
data SomeMapping Source #
Instances
| Mapping SomeMapping Source # | |
Defined in CPython.Internal Methods toMapping :: SomeMapping -> SomeMapping Source # | |
| Object SomeMapping Source # | |
Defined in CPython.Internal Methods toObject :: SomeMapping -> SomeObject Source # | |
castToMapping :: Object a => a -> IO (Maybe SomeMapping) Source #
Orphan instances
| Mapping Dictionary Source # | |
Methods toMapping :: Dictionary -> SomeMapping Source # | |