@@ -111,9 +111,11 @@ class Streaming t where
111111-- Constructing a stream
112112------------------------------------------------------------------------------
113113
114+-- | Add an element a the head of a stream.
114115cons :: (Streaming t) => a -> t m a -> t m a
115116cons a r = fromStream $ scons a (Just (toStream r))
116117
118+-- | An empty stream.
117119nil :: Streaming t => t m a
118120nil = fromStream $ snil
119121