- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
tupled/untupled (and curried/curry)
Wed, 2009-08-12, 20:33
Is there some reason tupled and untupled are methods on the Function
companion object, instead of being regular methods? It means I can't
write fn.tupled, I have to write Function.tupled(fn).
On a related note, it seems strange that both of these work:
fn.curried
Function.curry(fn)
This seems redundant and the slightly different naming is confusing.
Are these just oversights? If so, I can open tickets.