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