> -Original Message-
> From: Waldemar Horwat [mailto:[EMAIL PROTECTED]
> Sent: 4. mars 2008 02:25
> To: Lars Hansen
> Cc: es4-discuss Discuss
> Subject: Re: ES4 draft: Triply quoted string literals
>
> I'm not sure what the intent is, but as this is written:
>
> """abcdef"""
>
> wil
What is the recommended approach?
Thank you,
Garrett
On Mon, Mar 3, 2008 at 10:56 PM, Lars Hansen <[EMAIL PROTECTED]> wrote:
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Garrett Smith
> > Sent: 4. mars 2008 07:45
> > To: es4-discuss
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Garrett Smith
> Sent: 4. mars 2008 07:45
> To: es4-discuss Discuss
> Subject: Date Format?
>
> Will ES4 have a simple date formatter?
If you're asking for something that takes a format string and prod
Thanks, I noticed that too. Will be corrected in the next draft.
--lars
> -Original Message-
> From: Erik Arvidsson [mailto:[EMAIL PROTECTED]
> Sent: 4. mars 2008 02:42
> To: Lars Hansen
> Cc: es4-discuss@mozilla.org
> Subject: Re: ES4 draft: Map
>
> Hi Lars,
>
> prototype get and pu
Will ES4 have a simple date formatter?
___
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss
On 04/03/2008, Waldemar Horwat <[EMAIL PROTECTED]> wrote:
> I'm not sure what the intent is, but as this is written:
>
> """abcdef"""
>
> will evaluate to the same string as 'abcdef'.
That's not how I read the spec. As I read it, it will evaluate to the
same string as 'abc"', followed by
Hi Lars,
prototype get and put are missing the new optional notfound param
2008/3/3 Lars Hansen <[EMAIL PROTECTED]>:
> Draft 2 enclosed (changelog near the top).
>
> --lars
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
>
>
> > [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hansen
I'm not sure what the intent is, but as this is written:
"""abcdef"""
will evaluate to the same string as 'abcdef'.
Furthermore,
"""\"""
turns into:
\
to which we're then supposed to apply escape processing, but that is not
possible because there is no character following the backsl
Steven Mascaro wrote:
> One last issue. I was going to leave it till later, but I realised it
> may affect ES4.
>
> The nicest syntax for named arguments would be to use ':', just like
> with object literals. e.g.:
>
> /// Define
> function foo(arg1 = 0, arg2 = 1) { ... }
>
> /// Call
> foo(arg2
You missed my invisible irony mark :-P.
/be
On Mar 3, 2008, at 9:31 AM, P T Withington wrote:
> You and Lars missed my sarcasm marks. I hope there is _not_ a
> shorthand.
>
> On 2008-03-03, at 12:14 EST, Brendan Eich wrote:
>
>> We've talked about V~ for (V|undefined). It would have a few uses
You and Lars missed my sarcasm marks. I hope there is _not_ a
shorthand.
On 2008-03-03, at 12:14 EST, Brendan Eich wrote:
> We've talked about V~ for (V|undefined). It would have a few uses in
> the RI, but not enough to close the deal.
>
> /be
>
> On Mar 3, 2008, at 5:48 AM, Lars Hansen wro
On Mar 3, 2008, at 7:25 AM, Mike Cowlishaw wrote:
"Igor Bukanov" <[EMAIL PROTECTED]> wrote on 03/03/2008 14:39:32:
On 27/02/2008, Brendan Eich <[EMAIL PROTECTED]> wrote:
...
I agree with what Lars wrote, except here I think the value of a
hypothetical (possibly mythical) "big red switch" is
We've talked about V~ for (V|undefined). It would have a few uses in
the RI, but not enough to close the deal.
/be
On Mar 3, 2008, at 5:48 AM, Lars Hansen wrote:
>> -Original Message-
>> From: P T Withington [mailto:[EMAIL PROTECTED] On Behalf Of
>> P T Withington
>> Sent: 3. mars 2008
"Igor Bukanov" <[EMAIL PROTECTED]> wrote on 03/03/2008 14:39:32:
> On 27/02/2008, Brendan Eich <[EMAIL PROTECTED]> wrote:
> ...
> > I agree with what Lars wrote, except here I think the value of a
> > hypothetical (possibly mythical) "big red switch" is understated.
> ...
> >The common problem is
On 27/02/2008, Brendan Eich <[EMAIL PROTECTED]> wrote:
...
> I agree with what Lars wrote, except here I think the value of a
> hypothetical (possibly mythical) "big red switch" is understated.
...
>The common problem is that you can't do "dollars
> and cents" or "pounds and pennies" arithmetic a
> -Original Message-
> From: P T Withington [mailto:[EMAIL PROTECTED] On Behalf Of
> P T Withington
> Sent: 3. mars 2008 13:47
> To: Lars Hansen
> Cc: Waldemar Horwat; es4-discuss@mozilla.org
> Subject: Re: ES4 draft: Map
>
> On 2008-03-03, at 02:26 EST, Lars Hansen wrote:
>
> > functio
On 2008-03-03, at 02:26 EST, Lars Hansen wrote:
> function get(key:K, default:(V|undefined)=undefined):(V|
> undefined) ...
If V? is shorthand for (V|null), what is the shorthand for (V|null|
undefined)? Perhaps [EMAIL PROTECTED] Well, at least that expresses how I
feel
about a language w
Draft 2 enclosed (changelog near the top).
--lars
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hansen
> Sent: 29. februar 2008 11:34
> To: es4-discuss@mozilla.org
> Subject: ES4 draft: Map
>
> I'm enclosing the draft for the Map class. P
18 matches
Mail list logo