Compatibility definitions for Scala 2.13+ vs. Scala 2.12 and lesser.
This object is conceptually similar to scala.collection.compat.
- For Scala 2.12 and earlier, it provides a type alias and compatibility
functions for LazyList. For Scala 2.13 and greater, it's empty. Thus,
all code can use LazyList throughout.
- It also provides the implicit objects Ordering objects for floats and
doubles. For instance, it provides
grizzled.ScalaCompat.math.Ordering.Double.IeeeOrdering and
grizzled.ScalaCompat.math.Ordering.Double.IeeeOrdering. For Scala 2.12
and earlier, these values are aliases for scala.math.Ordering.Double.
For Scala 2.13 and greater, they map to their 2.13 counterparts (e.g.,
scala.math.Ordering.Double.IeeeOrdering).
Linear Supertypes
AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
ScalaCompat
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
typeLazyList[+T] = Stream[T]
Value Members
valCollectionConverters: DecorateAsJava with DecorateAsScala
Compatibility definitions for Scala 2.13+ vs. Scala 2.12 and lesser. This object is conceptually similar to
scala.collection.compat
.- For Scala 2.12 and earlier, it provides a type alias and compatibility functions for
LazyList
. For Scala 2.13 and greater, it's empty. Thus, all code can useLazyList
throughout. - It also provides the implicit objectsOrdering
objects for floats and doubles. For instance, it providesgrizzled.ScalaCompat.math.Ordering.Double.IeeeOrdering
andgrizzled.ScalaCompat.math.Ordering.Double.IeeeOrdering
. For Scala 2.12 and earlier, these values are aliases forscala.math.Ordering.Double
. For Scala 2.13 and greater, they map to their 2.13 counterparts (e.g.,scala.math.Ordering.Double.IeeeOrdering
).