-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
459 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
### Version 0.2.4 | ||
- Release for Scala 2.13.1. | ||
- CI now tests and deploys with OpenJDK11 | ||
|
||
### Version 0.2.3 | ||
- eliminates a potential space leak | ||
|
||
### Version 0.2.2 | ||
This version is a maintenence release | ||
- moves things to org.combinators | ||
- updates libraries | ||
- fixes potential wrap arounds due to usage of Int in Finite | ||
|
||
### Version 0.2.3 | ||
- eliminates a potential space leak | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.1.1 | ||
sbt.version=1.3.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
logLevel := Level.Warn | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1") | ||
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.2") | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") | ||
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7") | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2") | ||
addSbtPlugin("ch.epfl.scala" % "sbt-release-early" % "2.1.1") | ||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.0.0") | ||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.4.0") |
20 changes: 20 additions & 0 deletions
20
src/main/scala-2.12-/shapeless/feat/VersionCompatibility.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package shapeless.feat | ||
|
||
object VersionCompatibility { | ||
type LazyList[+A] = scala.collection.immutable.Stream[A] | ||
private[feat] val LazyList = new StreamCompanionAdapter | ||
|
||
type Factory[-E, +C] = scala.collection.generic.CanBuildFrom[Nothing, E, C] | ||
type IterableOnce[+T] = scala.collection.TraversableOnce[T] | ||
|
||
|
||
private[feat] class StreamCompanionAdapter { | ||
def from[E](it: IterableOnce[E]): scala.collection.immutable.Stream[E] = it.toStream | ||
} | ||
implicit def toStreamCompanion(adapter: StreamCompanionAdapter): scala.collection.immutable.Stream.type = | ||
scala.collection.immutable.Stream | ||
implicit class NewBuilderOps[E, C](factory: Factory[E, C]) { | ||
def newBuilder: scala.collection.mutable.Builder[E, C] = factory.apply() | ||
} | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
src/main/scala-2.13+/shapeless/feat/VersionCompatibility.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright 2018-2020 Jan Bessai | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package shapeless.feat | ||
|
||
object VersionCompatibility { | ||
type Factory[-E, +C] = scala.collection.Factory[E, C] | ||
} |
Oops, something went wrong.