We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#::
1 parent df8778e commit 5e6b46eCopy full SHA for 5e6b46e
core/src/main/scala-2.13+/cats/data/NonEmptyLazyList.scala
@@ -112,6 +112,7 @@ object NonEmptyLazyList extends NonEmptyLazyListInstances {
112
}
113
114
final class Deferrer[A] private[NonEmptyLazyList] (private val nell: () => NonEmptyLazyList[A]) extends AnyVal {
115
+
116
/** Prepends a single element. */
117
def #::[AA >: A](elem: => AA): NonEmptyLazyList[AA] =
118
create(elem #:: nell().toLazyList)
0 commit comments