Summary(2) - things to drop

View: Old framed views
68 Messages — Rating Filter:   Alert me  
Summary(2) - things to drop - Hi all, Thanks for your continuing responses and suggestions. It's a pleasure to interact with such a well-informed... Loading...
Hi Martin, On Mon, Nov 24, 2008 at 9:05 AM, martin odersky <martin.odersky@...> wrote: > Hi all, > > Thanks... Loading...
For 1: +1. It would be great if a method that returns a tuple could be used to fill in the argument for another... Loading...
On 24/11/2008, at 6:05 PM, martin odersky wrote: > 6. Partial function application. > I am very surprised that... Loading...
Will then val args = (1,"boo") foo(args) work es well? Thinking it to an end it would mean that args could be... Loading...
On Mon, Nov 24, 2008 at 6:05 PM, martin odersky <martin.odersky@...wrote: > I am very surprised that nobody has... Loading...
On Mon, Nov 24, 2008 at 7:46 PM, John Nilsson <john@...> wrote: > On Mon, Nov 24, 2008 at 6:05 PM, martin... Loading...
>>>>> "martin" == martin odersky <martin.odersky@...> writes: martin> 6. Partial function application. martin>... Loading...
On Mon, Nov 24, 2008 at 8:22 PM, Seth Tisue <seth@...> wrote: >>>>>> "martin" == martin odersky... Loading...
On Mon, Nov 24, 2008 at 11:27 AM, martin odersky <martin.odersky@...wrote: > On Mon, Nov 24, 2008 at 8:22 PM,... Loading...
On Mon, Nov 24, 2008 at 8:27 PM, martin odersky <martin.odersky@...wrote: > On Mon, Nov 24, 2008 at 8:22 PM,... Loading...
Ah, just to clarify: without knowing the signature of: method "foo" on type "bar", and without knowing the... Loading...
On Mon, Nov 24, 2008 at 7:57 PM, martin odersky <martin.odersky@...wrote: > We did that in Scala 1.x, and it did... Loading...
Having to explicitly denote functions (ok, methods) with a _ after them is one of the big syntax differences between... Loading...
On Mon, Nov 24, 2008 at 9:17 PM, Ricky Clarkson <ricky.clarkson@...wrote: > Having to explicitly denote... Loading...
David Pollak wrote: This looks very normal to pass function identifier as argument of type function in the language... Loading...
In foo.bar(baz) you don't know anything about the type of baz. Is it an Int? A String? A function? In other words,... Loading...
James Iry wrote: > In foo.bar(baz) you don't know anything about the type of baz. Is it an > Int? A String? A... Loading...
On Mon, Nov 24, 2008 at 23:48, Vladimir Kirichenko <vladimir.kirichenko@...> wrote: > > This looks very normal... Loading...
>>>>> "martin" == martin odersky <martin.odersky@...> writes: >> Can you give a concrete example involving... Loading...
On Mon, Nov 24, 2008 at 9:57 PM, Stepan Koltsov <stepan.koltsov@...wrote: > > inc is not a function, it is a... Loading...
On Mon, Nov 24, 2008 at 9:48 PM, James Iry <jamesiry@...> wrote: > In foo.bar(baz) you don't know anything... Loading...
+1 Loading...
On Mon, Nov 24, 2008 at 8:54 PM, John Nilsson <john@...> wrote: > On Mon, Nov 24, 2008 at 7:57 PM, martin... Loading...
Is there any way to address the idea of having a function take anything except for a function? supposed a trait... Loading...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What would such a function do? This seems like not-an-idea to... Loading...
I guess it was in response to martin's comment regarding subtyping and general root types as being an issue with OO/FP,... Loading...
David Pollak wrote: > My 2 cents: I really like this syntax. > xs.map(inc _) // OK +1 Loading...
martin odersky wrote: > On Mon, Nov 24, 2008 at 7:46 PM, John Nilsson <john@...> wrote: >> On Mon, Nov 24, 2008... Loading...
On Sun, Nov 30, 2008 at 8:09 PM, Lex Spoon <lex@...> wrote: > Is anyone having problems with the semicolon... Loading...
On 11/30/08, Lex Spoon <lex@...> wrote: > Because we will not seriously propose that 95% Scala programs... Loading...
Hi, I was away so I missed most of this discussion, but I am happy to see plans to improve these 3... Loading...
On Sun, Nov 30, 2008 at 9:54 PM, David MacIver <david.maciver@...wrote: > > All that being said, I don't think... Loading...
Hi John, One that Martin mentioned in the context of postfix notation was this: ----------- class Example { ... Loading...
Re: Summary(2) - things to drop - John Nilsson wrote: > Like for example say you define a statment as any expression of type > Unit. Or any... Loading...
On Mon, Dec 1, 2008 at 12:26 AM, Bill Venners <bill@...> wrote: > example draw > 2 I can see how this is a... Loading...
Is this an active research topic or is it jus a general concensus that it isn't worth it? If it has been sugested... Loading...
Re: Summary(2) - things to drop - John Nilsson wrote: > Is this an active research topic or is it jus a general concensus that > it isn't worth... Loading...
Hi John, On Sun, Nov 30, 2008 at 3:46 PM, John Nilsson <john@...> wrote: > On Mon, Dec 1, 2008 at 12:26 AM,... Loading...
To return to an issue raised a while ago, I would like to see type parameters as part of function literals. The first... Loading...
Re: Summary(2) - things to drop - John Nilsson wrote: > On Sun, Nov 30, 2008 at 8:09 PM, Lex Spoon <lex@... > <mailto:lex@...>>... Loading...
Re: Summary(2) - things to drop - David MacIver wrote: > On 11/30/08, *Lex Spoon* <lex@... <mailto:lex@...>> wrote: > With me it's... Loading...
Re: Summary(2) - things to drop - John Nilsson wrote: > Before dropping the discussion though. I would be interested in seeing > some of the... Loading...
On Mon, Dec 1, 2008 at 10:56 AM, Lex Spoon <lex@...> wrote: > John Nilsson wrote: > >> On Sun, Nov 30,... Loading...
On 12/1/08, Lex Spoon <lex@...> wrote: > > David MacIver wrote: > >> On 11/30/08, *Lex Spoon*... Loading...
On Mon, Dec 1, 2008 at 8:40 AM, David MacIver <david.maciver@...wrote: > On 12/1/08, Lex Spoon... Loading...
On 12/1/08, Arthur Peters <amp@...> wrote: > > On Mon, Dec 1, 2008 at 10:56 AM, Lex Spoon... Loading...
As far as XML pattern matching, one of the problems (unless it was solved and I'm not aware of it) is using namespaces... Loading...
I can't recall if this has been suggested before, but perhaps scalac should have a command line option to turn off... Loading...
Then it is difficult to know how to compile a random .scala file you find. 2008/12/1 Seth Tisue... Loading...
XML pattern matching is also an order of magnitude slower than: case e: Elem if e.label == "foo" =>... Loading...
>>>>> "Ricky" == Ricky Clarkson <ricky.clarkson@...> writes: >> I can't recall if this has been suggested... Loading...
+1 for that option 2008/12/1 Seth Tisue <seth@...> > > I can't recall if this has been suggested before,... Loading...
Well, if you want to compile my .scala file you will have to follow my rules ;-) Seriously, although I do not see as... Loading...
On Mon, Dec 1, 2008 at 1:05 PM, Seth Tisue <seth@...> wrote: > >>>>> "Ricky" == Ricky Clarkson... Loading...
Bill Venners schrieb: > It requires two overloaded methods It is even nicer if the 1-arg methods take a parameter of... Loading...
Does my idea make any sense? On Mon, Dec 1, 2008 at 12:47 PM, Naftoli Gugenheim <naftoligug@...wrote: > As... Loading...
On Wed, Dec 3, 2008 at 5:36 PM, Naftoli Gugenheim <naftoligug@...> wrote: > Does my idea make any sense? > > On... Loading...
On Wed, Dec 3, 2008 at 2:11 PM, martin odersky <martin.odersky@...wrote: > On Wed, Dec 3, 2008 at 5:36 PM,... Loading...
Sorry, I thought I had read that it *was *being considered (to make it library-implemented)... But what about the idea... Loading...
Public fields are safe to use in Scala because you can switch between val/var and def without breaking client code. ... Loading...
On Thu, Jan 8, 2009 at 4:06 PM, GatesDA <GatesDA@...> wrote: > > > Ricky Clarkson wrote: > > My own thoughts... Loading...
O/H GatesDA έγραψε: > Public fields are safe to use in Scala because you can switch between > val/var and def without... Loading...
Thanks for pointing that out; I had assumed that an implicitly generated def would behave the same as an explicit... Loading...
Changing it from a val to a def can cause assumptions to break. scala> class X { val x = 5 } defined class... Loading...
The assumptions are broken here not by the change from val to def, but by the change in behavior. A behavioral... Loading...
GatesDA wrote: > I was looking for an example to show the importance of vals being stable identifiers. Only stable... Loading...
On Thu, Jan 8, 2009 at 8:36 PM, GatesDA <GatesDA@...> wrote: > > > David MacIver wrote: > > > > On Thu, Jan... Loading...