@@ -1024,7 +1024,7 @@ runWhile = drainWhile
1024-- @since 0.1.1
1024-- @since 0.1.1
1025{-# INLINE null #-}
1025{-# INLINE null #-}
1026null :: Monad m => SerialT m a -> m Bool
1026null :: Monad m => SerialT m a -> m Bool
1027−null = K.null
1027+null = S.null . toStreamS
1029-- | Extract the first element of the stream, if any.
1029-- | Extract the first element of the stream, if any.
@@ -1033,7 +1033,7 @@ null = K.null
1033-- @since 0.1.0
1033-- @since 0.1.0
1034{-# INLINE head #-}
1034{-# INLINE head #-}
1035head :: Monad m => SerialT m a -> m (Maybe a)
1035head :: Monad m => SerialT m a -> m (Maybe a)
1036−head = K.head
1036+head = S.head . toStreamS
1039-- > tail = fmap (fmap snd) . uncons
1039-- > tail = fmap (fmap snd) . uncons