| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An overhaul of the collection-oriented methods in Tuple2/Tuple3 (which
still need to be taken all the way to Tuple5.)
* Zip semantics: zip and zipped now properly terminate when any
collection runs out of elements, even if others are infinite. In
addition, short circuiting methods (exists and forall) will terminate if
the condition is met, even in the presence of infinity.
Example:
scala> val ys = Stream from 1
ys: scala.collection.immutable.Stream[Int] = Stream(1, ?)
scala> (ys, ys).zipped forall ((x, y) => x+y < 100)
res0: Boolean = false
scala> (ys, ys).zipped exists ((x, y) => x+y > 100)
res1: Boolean = true
* There are implicits converting Zipped2/3 to Traversable to expose all
the methods which aren't defined in an arity-specific way in the tuple
classes. I have mixed feelings about putting these in Predef; but if
there is another way to make them visible by default I wasn't able to
find it.
Example putting said implicit to use:
scala> (ys, ys, ys).zipped find { case (x, y, z) => x+y+z > 1000 }
res0: Option[(Int, Int, Int)] = Some((334,334,334))
Already reviewed by moors, so no review.
|
|
|
|
|
|
|
| |
Proposed implementation of 'unlift' on Function1, the inverse function
of PartialFunction#lift. Review by rytz and other interested parties.
References #3825, but not closing until this is further considered.
|
| |
|
|
|
|
|
| |
Removed more than 3400 svn '$Id' keywords and related junk.
|
|
|
|
|
|
|
| |
to properly specialize on primitive types (scala.Int, instead of
scala.runtime.Int). Now closures should be indeed specialized. No
review.
|
|
|
|
|
|
| |
added scalacheck.jar and *.test files to the scala-test sbaz package. no
review.
|
|
|
|
|
|
|
|
| |
Auto-generate scala.runtime.AbstractFunctionN classes. Moved zipped*
methods in Tuple1/2 in genprod, so that regenerating tuples does not
lose these methods. Added @specialized annotations into genprod for the
same reason.
|
|
|
|
|
|
|
|
| |
moved plugin folder back to 'misc/scala-devel/plugins'. moved bash
completion to scala-tool-support (see r21449). include continuations
in compiler sbaz package. replaced some tabs by spaces. review by
extempore.
|
| |
|
|
|
|
|
|
|
| |
Adjectified some parts of speech as discussed on the mailing list. The
methods to call on FunctionN are "curried" and "tupled" with "curry"
deprecated and "tuple" gone. Closes #2907. Review by community.
|
| |
|
|
|
|
|
|
| |
Built out genprod to create a tuple method for reach function alongside
its curry method. Generated new FunctionNs.
|
| |
|
| |
|
|
|
|
|
| |
removing jvm5 stuff from trunk, now in branches/jvm5
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
[no content change] Fixed all SVN properties: mimes, EOL, executable. Id
expansion is consistently enabled for Scala/Java/C# sources in 'src/'
and consistently disabled and removed from everywhere else: there should
not be any dead Id tags anymore.
|
|
|
|
|
| |
Added jline as optional dependency to scala-compiler pom
|
|
|
|
|
|
| |
Newly generated Tuple/Product/Function classes from new genprod, plus a
couple minor tweaks to genprod to keep tests happy.
|
|
|
|
|
|
| |
Close to complete rewrite of genprod so it's easier to modify and
leverage for other exciting Foo1-Foo22 classes.
|
| |
|
|
|
|
|
|
| |
In "Iterable" and in all its subclasses, "iterator" replaces "elements"
(and assorted changes).
|
| |
|
|
|
|
|
| |
Fix to msil build script to use unifed scalac task throughout build
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
reverting my previous pointless change and moving it to where it makes
some sense (ScalacFork)
|
|
|
|
|
| |
scalac ant task now supports @argfile (needed to build .net on windows)
|
|
|
|
|
| |
fixed msil build; currently exclude new collection library
|
|
|
|
|
| |
merged changes from maven2 branch (include scalap as maven package)
|
| |
|
| |
|
|
|
|
|
| |
merge from maven2 branch, add licensing info to artifacts.
|
|
|
|
|
| |
Fixed ant test.suite target for jvm tests that contain directories.
|
| |
|
| |
|
|
|
|
|
|
| |
- maven-deploy.xml takes parameter settings.file (ant deploy.snapshot
-Dsettings.file=/path/to/settings.xml)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
the ant tasks 'four-test' and 'fourfour-test' (and therefore nightly
builds) now fail when some partest tests fail.
|
|
|
|
|
|
| |
. the downloadable scala-api.tgz is now called scala-devel-docs.tgz, and
contains the same files as the correspondent sbaz package
|
| |
|
| |
|
| |
|