Safe Haskell | None |
---|
- class Object a => Iterator a where
- toIterator :: a -> SomeIterator
- data SomeIterator
- castToIterator :: Object a => a -> IO (Maybe SomeIterator)
- next :: Iterator iter => iter -> IO (Maybe SomeObject)
Documentation
class Object a => Iterator a whereSource
toIterator :: a -> SomeIteratorSource
castToIterator :: Object a => a -> IO (Maybe SomeIterator)Source