|
Scala example source code file (bug4291.scala)
The Scala bug4291.scala source code
import scala.tools.partest._
object Test extends SigTest {
def main(args: Array[String]): Unit = {
show[List[_]]("apply")
show[Option[_]]("get")
show[Function1[_, _]]("apply")
for (name <- List("map", "flatMap", "filter", "head", "groupBy")) {
show[Traversable[_]](name)
show[Iterable[_]](name)
show[Seq[_]](name)
show[Set[_]](name)
show[Map[_,_]](name)
show[Vector[_]](name)
show[Range](name)
}
}
}
Other Scala examples (source code examples)Here is a short list of links related to this Scala bug4291.scala source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.