[perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread noreply
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs

  Commit: a7cfe02002f665c120cf4b735919779820194757
  
https://github.com/perl6/specs/commit/a7cfe02002f665c120cf4b735919779820194757
  Author: Moritz Lenz mor...@faui2k3.org
  Date:   2011-08-23 (Tue, 23 Aug 2011)

  Changed paths:
M S32-setting-library/Exception.pod

  Log Message:
  ---
  [S32] backtraces overhaul

spec hidden_from_backtrace trait, be more verbose on backtrace stringification,
and introduce separate BackTraceLine class




Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread Damian Conway
It's a trivial point, but why hidden_from_backtrace instead of
hidden-from-backtrace? Especially given that the associated
method is is-hidden, not is_hidden?

Are we consistently using underscores for multi_word traits
and hyphens for multi-word methods? Wouldn't it be nice to
have a consistent and teachable rule?

And why is this entire message written in questions?
Have I simply been watching too many Whose Line Is It Anyway?
episodes?

Damian?


Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread Moritz Lenz

Am 23.08.2011 10:46, schrieb Damian Conway:

It's a trivial point, but why hidden_from_backtrace instead of
hidden-from-backtrace? Especially given that the associated
method is is-hidden, not is_hidden?


The current stance seems to be that low-level things are spelled with 
underscores, while we reserve the minus character for user-space code. 
Try grepping the specs for identifiers of built-ins that have a minus in 
it -- I didn't find any in a quick search.




And why is this entire message written in questions?


Is it? I'm afraid I don't understand what you mean.

See 
https://github.com/perl6/specs/commit/a7cfe02002f665c120cf4b735919779820194757 
maybe it's a charset problem on your machine, or something.


Cheers,
Moritz


[perl6/specs] d91760: [S32] backtrace renames, as suggested by masak++, ...

2011-08-23 Thread noreply
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs

  Commit: d91760b2537b45a55006754f729ddd1c42f7bc4a
  
https://github.com/perl6/specs/commit/d91760b2537b45a55006754f729ddd1c42f7bc4a
  Author: Moritz Lenz mor...@faui2k3.org
  Date:   2011-08-23 (Tue, 23 Aug 2011)

  Changed paths:
M S32-setting-library/Exception.pod

  Log Message:
  ---
  [S32] backtrace renames, as suggested by masak++, jnthn++ and pmichaud++




Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread Moritz Lenz

Am 23.08.2011 10:56, schrieb Moritz Lenz:

And why is this entire message written in questions?


Is it? I'm afraid I don't understand what you mean.


Never mind?


Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread philippe.beauch...@bell.ca
Help us always-explains-the-joke-man!!...
:)





Philippe R. Beauchamp
Secure Channel | Bell Business Markets
Associate Director - Application Services
Phone:   613-781-8953
Cell:613-327-6928


- Original Message -
From: Moritz Lenz [mailto:mor...@faui2k3.org]
Sent: Tuesday, August 23, 2011 04:56 AM
To: perl6-language@perl.org perl6-language@perl.org
Subject: Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

Am 23.08.2011 10:46, schrieb Damian Conway:
 It's a trivial point, but why hidden_from_backtrace instead of
 hidden-from-backtrace? Especially given that the associated
 method is is-hidden, not is_hidden?

The current stance seems to be that low-level things are spelled with 
underscores, while we reserve the minus character for user-space code. 
Try grepping the specs for identifiers of built-ins that have a minus in 
it -- I didn't find any in a quick search.


 And why is this entire message written in questions?

Is it? I'm afraid I don't understand what you mean.

See 
https://github.com/perl6/specs/commit/a7cfe02002f665c120cf4b735919779820194757 
maybe it's a charset problem on your machine, or something.

Cheers,
Moritz


Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread Richard Hainsworth
If you're asking for an explanation of the humour, then it's easy. There 
is no word play or a significant reference to a program only available 
to a special audience.


Seems to me that when Damian got to the end of his email he noticed that 
each sentence ended in a '?'


That's not usual. Most emails contain assertions and questions.

The humour is really when he appended a ? to his own name. Was he 
really questioning what he was called?


Richard

On 08/23/2011 02:19 PM, philippe.beauch...@bell.ca wrote:

Help us always-explains-the-joke-man!!...
:)





Philippe R. Beauchamp
Secure Channel | Bell Business Markets
Associate Director - Application Services
Phone:   613-781-8953
Cell:613-327-6928


- Original Message -
From: Moritz Lenz [mailto:mor...@faui2k3.org]
Sent: Tuesday, August 23, 2011 04:56 AM
To: perl6-language@perl.orgperl6-language@perl.org
Subject: Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

Am 23.08.2011 10:46, schrieb Damian Conway:

It's a trivial point, but why hidden_from_backtrace instead of
hidden-from-backtrace? Especially given that the associated
method is is-hidden, not is_hidden?

The current stance seems to be that low-level things are spelled with
underscores, while we reserve the minus character for user-space code.
Try grepping the specs for identifiers of built-ins that have a minus in
it -- I didn't find any in a quick search.



And why is this entire message written in questions?

Is it? I'm afraid I don't understand what you mean.

See
https://github.com/perl6/specs/commit/a7cfe02002f665c120cf4b735919779820194757
maybe it's a charset problem on your machine, or something.

Cheers,
Moritz


Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread philippe.beauch...@bell.ca
Whoosh
No... LOL

I was making reference to another Whose Line game, (as Damian was with the all 
questions thing)... And the hyphen thing. :)




Philippe R. Beauchamp
Secure Channel | Bell Business Markets
Associate Director - Application Services
Phone:   613-781-8953
Cell:613-327-6928


- Original Message -
From: Richard Hainsworth [mailto:rich...@rusrating.ru]
Sent: Tuesday, August 23, 2011 06:28 AM
To: perl6-language@perl.org perl6-language@perl.org
Subject: Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

If you're asking for an explanation of the humour, then it's easy. There 
is no word play or a significant reference to a program only available 
to a special audience.

Seems to me that when Damian got to the end of his email he noticed that 
each sentence ended in a '?'

That's not usual. Most emails contain assertions and questions.

The humour is really when he appended a ? to his own name. Was he 
really questioning what he was called?

Richard

On 08/23/2011 02:19 PM, philippe.beauch...@bell.ca wrote:
 Help us always-explains-the-joke-man!!...
 :)





 Philippe R. Beauchamp
 Secure Channel | Bell Business Markets
 Associate Director - Application Services
 Phone:   613-781-8953
 Cell:613-327-6928


 - Original Message -
 From: Moritz Lenz [mailto:mor...@faui2k3.org]
 Sent: Tuesday, August 23, 2011 04:56 AM
 To: perl6-language@perl.orgperl6-language@perl.org
 Subject: Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

 Am 23.08.2011 10:46, schrieb Damian Conway:
 It's a trivial point, but why hidden_from_backtrace instead of
 hidden-from-backtrace? Especially given that the associated
 method is is-hidden, not is_hidden?
 The current stance seems to be that low-level things are spelled with
 underscores, while we reserve the minus character for user-space code.
 Try grepping the specs for identifiers of built-ins that have a minus in
 it -- I didn't find any in a quick search.


 And why is this entire message written in questions?
 Is it? I'm afraid I don't understand what you mean.

 See
 https://github.com/perl6/specs/commit/a7cfe02002f665c120cf4b735919779820194757
 maybe it's a charset problem on your machine, or something.

 Cheers,
 Moritz


Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread Mark J. Reed
I always think of the questions game in Rosencrantz and Guildenstern
(Lenzmoritz and Damienstern?) instead of Whose Line?.
15-love, Conway!


On Tuesday, August 23, 2011, philippe.beauch...@bell.ca 
philippe.beauch...@bell.ca wrote:
 Whoosh
 No... LOL

 I was making reference to another Whose Line game, (as Damian was with the
all questions thing)... And the hyphen thing. :)




 Philippe R. Beauchamp
 Secure Channel | Bell Business Markets
 Associate Director - Application Services
 Phone:   613-781-8953
 Cell:613-327-6928


 - Original Message -
 From: Richard Hainsworth [mailto:rich...@rusrating.ru]
 Sent: Tuesday, August 23, 2011 06:28 AM
 To: perl6-language@perl.org perl6-language@perl.org
 Subject: Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

 If you're asking for an explanation of the humour, then it's easy. There
 is no word play or a significant reference to a program only available
 to a special audience.

 Seems to me that when Damian got to the end of his email he noticed that
 each sentence ended in a '?'

 That's not usual. Most emails contain assertions and questions.

 The humour is really when he appended a ? to his own name. Was he
 really questioning what he was called?

 Richard

 On 08/23/2011 02:19 PM, philippe.beauch...@bell.ca wrote:
 Help us always-explains-the-joke-man!!...
 :)





 Philippe R. Beauchamp
 Secure Channel | Bell Business Markets
 Associate Director - Application Services
 Phone:   613-781-8953
 Cell:613-327-6928


 - Original Message -
 From: Moritz Lenz [mailto:mor...@faui2k3.org]
 Sent: Tuesday, August 23, 2011 04:56 AM
 To: perl6-language@perl.orgperl6-language@perl.org
 Subject: Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

 Am 23.08.2011 10:46, schrieb Damian Conway:
 It's a trivial point, but why hidden_from_backtrace instead of
 hidden-from-backtrace? Especially given that the associated
 method is is-hidden, not is_hidden?
 The current stance seems to be that low-level things are spelled with
 underscores, while we reserve the minus character for user-space code.
 Try grepping the specs for identifiers of built-ins that have a minus in
 it -- I didn't find any in a quick search.


 And why is this entire message written in questions?
 Is it? I'm afraid I don't understand what you mean.

 See

https://github.com/perl6/specs/commit/a7cfe02002f665c120cf4b735919779820194757
 maybe it's a charset problem on your machine, or something.

 Cheers,
 Moritz


-- 
Mark J. Reed markjr...@gmail.com


Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread Damian Conway
 The current stance seems to be that low-level things are spelled with
 underscores, while we reserve the minus character for user-space code. Try
 grepping the specs for identifiers of built-ins that have a minus in it -- I
 didn't find any in a quick search.

I had a little more time to look and found...

S12 describes Attribute objects as having a method named 'has-accessor',
but also having a method named 'get_value'.

S19 uses hyphens for all of perl6's long-form command-line flags.

In S28, we find $*EXECUTABLE_NAME and %*META-ARGS listed
within 10 lines of each other.

S32-setting-library_IO.pod and S32-setting-library_Numeric.pod each have
public multi-word method names with hyphens. And both also list other
identifiers that use underscores.

I'm not sure I'm seeing the pattern, though. Apart perhaps from older parts
of the spec use underscores, newer parts use hyphens.

And I'd like there to be a more consistent approach than that
(though I don't really care what it actually is).

Damian


Re: [perl6/specs] a7cfe0: [S32] backtraces overhaul

2011-08-23 Thread Patrick R. Michaud
On Tue, Aug 23, 2011 at 05:36:27PM +0200, Damian Conway wrote:
 And I'd like there to be a more consistent approach than that
 (though I don't really care what it actually is).

+1 to consistency.

Pm


[perl6/specs] 187e15: document that forward goto requires quotes

2011-08-23 Thread noreply
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs

  Commit: 187e15bcd1a5f52bf7bbd2e35ece1475bd9731af
  
https://github.com/perl6/specs/commit/187e15bcd1a5f52bf7bbd2e35ece1475bd9731af
  Author: Larry Wall la...@wall.org
  Date:   2011-08-23 (Tue, 23 Aug 2011)

  Changed paths:
M S04-control.pod

  Log Message:
  ---
  document that forward goto requires quotes