| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
[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.
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
| |
FunctionN, where N > 4, many fewer classes are created statically at the
expense of creating more objects dynamically (which seems reasonable
given how common such functions are likely to be). This also allows for
curry in FunctionN for N > 8 without running into the filename length
restriction.
|
| |
|
|
|
|
|
| |
No curry for you! (If you are FunctionN, for N < 2 and N > 16)
|
|
|
|
|
| |
Generalized curry to FunctionN for N >= 2
|
|
|
|
|
| |
Added uncurry to Function2, swap to Tuple2.
|
| |
|
| |
|
|
|
|
|
| |
updated element/arity to productElement/productArity
|
| |
|
|
|
|
|
| |
renamed arity=>productArity,element=>productElement
|
|
|
|
|
|
| |
regenerated TupleN classes so that their toString matches the (...)
tuple syntax update .check files that contained tuple toString output
|
|
|
|
|
|
|
| |
finalized the TupleN ProductN change (last dist: no automatic addition
of ProductN, this dist: manual addition of ProductN to TupleN by means
of modified genprod tool)
|
|
|
|
|
| |
* new starr, because of Tuple/Product change and collections
|
|
|
|
|
|
|
|
|
|
| |
* better comments and parameter names in scala.xml.MetaData typechecker
* now handles special cases (n=0, n=1) for unapply correctly
* * even if one returns a Option[Product1[T]]
* typechecker now handles unapply return types correctly
* * e.g. when returning Option[{A,B}] instead of Option[Product2[A,B]]
|
| |
|
| |
|
|
|
|
|
| |
changed a confusing error message "value this is not a member of T".
|
| |
|
| |
|
| |
|
|
|
|
|
| |
updated method 'andThen' in generated Function1.scala
|
| |
|
|
more products, plus some static optimization in pattern matcher
|