Safe Haskell | None |
---|---|
Language | Haskell98 |
- data ByteArray
- data Bytes
- data Capsule
- data Cell
- data Code
- data Complex
- data Dictionary
- data Exception
- data Float
- data Function
- data InstanceMethod
- data Integer
- data SequenceIterator
- data CallableIterator
- data List
- data Method
- data Module
- class Object a => AnySet a
- data Set
- data FrozenSet
- data Slice
- data Tuple
- data Type
- data Unicode
- data Reference
- data Proxy
- byteArrayType :: Type
- bytesType :: Type
- capsuleType :: Type
- cellType :: Type
- codeType :: Type
- complexType :: Type
- dictionaryType :: Type
- floatType :: Type
- functionType :: Type
- instanceMethodType :: Type
- integerType :: Type
- sequenceIteratorType :: Type
- callableIteratorType :: Type
- listType :: Type
- methodType :: Type
- moduleType :: Type
- setType :: Type
- frozenSetType :: Type
- sliceType :: Type
- tupleType :: Type
- typeType :: Type
- unicodeType :: Type
- toByteArray :: ByteString -> IO ByteArray
- fromByteArray :: ByteArray -> IO ByteString
- toBytes :: ByteString -> IO Bytes
- fromBytes :: Bytes -> IO ByteString
- toComplex :: Complex Double -> IO Complex
- fromComplex :: Complex -> IO (Complex Double)
- toFloat :: Double -> IO Float
- fromFloat :: Float -> IO Double
- toInteger :: Integer -> IO Integer
- fromInteger :: Integer -> IO Integer
- toList :: [SomeObject] -> IO List
- iterableToList :: Object iter => iter -> IO List
- fromList :: List -> IO [SomeObject]
- toSet :: [SomeObject] -> IO Set
- toFrozenSet :: [SomeObject] -> IO FrozenSet
- iterableToSet :: Object obj => obj -> IO Set
- iterableToFrozenSet :: Object obj => obj -> IO FrozenSet
- fromSet :: AnySet set => set -> IO [SomeObject]
- toTuple :: [SomeObject] -> IO Tuple
- iterableToTuple :: Object iter => iter -> IO Tuple
- fromTuple :: Tuple -> IO [SomeObject]
- toUnicode :: Text -> IO Unicode
- fromUnicode :: Unicode -> IO Text
Types and classes
data Dictionary Source #
data SequenceIterator Source #
data CallableIterator Source #
Python Type
values
byteArrayType :: Type Source #
capsuleType :: Type Source #
complexType :: Type Source #
functionType :: Type Source #
integerType :: Type Source #
methodType :: Type Source #
moduleType :: Type Source #
frozenSetType :: Type Source #
unicodeType :: Type Source #
Building and parsing values
toByteArray :: ByteString -> IO ByteArray Source #
fromByteArray :: ByteArray -> IO ByteString Source #
iterableToList :: Object iter => iter -> IO List Source #
Convert any object implementing the iterator protocol to a List
.
toFrozenSet :: [SomeObject] -> IO FrozenSet Source #
iterableToTuple :: Object iter => iter -> IO Tuple Source #
Convert any object implementing the iterator protocol to a Tuple
.
fromUnicode :: Unicode -> IO Text Source #