-- | @'repeat' x@ returns a constant stream, where all elements are
-- equal to @x@.
repeat :: a -> NonEmpty a
repeat a = a :| List.repeat a
repeat :: a -> NonEmpty a
repeat a = a :| List.repeat a
repeat a = a :| List.repeat a