On Wed, Jan 27, 2016 at 7:09 AM, Elizabeth Mattijsen wrote:
>> On 27 Jan 2016, at 14:00, Tom Browder wrote:
>>
>> Given so many handy methods for built-in classes, it would be nice to have a
>> couple of more for some, for instance:
>>
>> IO:Path.stemname
>> Like basename except any suffix is
From: Tom Browder [mailto:tom.brow...@gmail.com]
>
> Given so many handy methods for built-in classes, it would be nice to have a
> couple of more for some, for instance:
>
> IO:Path.stemname
> Like basename except any suffix is removed
>
> IO::Handle.say (or println)
> Like print
On Wed, Jan 27, 2016 at 7:09 AM, Elizabeth Mattijsen wrote:
>> On 27 Jan 2016, at 14:00, Tom Browder wrote:
>>
>> Given so many handy methods for built-in classes, it would be nice to have a
>> couple of more for some, for instance:
...
>> IO::Handle.say (or println)
>> Like print except with
On Wednesday, January 27, 2016, Peter Pentchev wrote:
>
> On Wed, Jan 27, 2016 at 07:00:11AM -0600, Tom Browder wrote:
> > Given so many handy methods for built-in classes, it would be nice to have
> > a couple of more for some, for instance:
> >
> > IO:Path.stemname
> > Like basename except any
On Wed, 27 Jan 2016 14:14:17 +, Philip Hazelden
wrote:
> For a "convert files to $format" thing, you'd want to replace the
> extension. You don't need to specify the previous extension(s) if it's a
> quick-and-dirty thing where you know everything passed to it will be
> acceptable; and you do
On Wed, Jan 27, 2016 at 9:50 AM, Peter Pentchev wrote:
> Right, so that would probably mean that you need a function that removes
> the *last* extension; that might indeed make sense, although it's
> trivial to implement as a regular expression substitution (but also beware
> the case of a filena
On Wed, Jan 27, 2016 at 02:14:17PM +, Philip Hazelden wrote:
> On Wed, Jan 27, 2016 at 1:43 PM Peter Pentchev wrote:
>
> > On Wed, Jan 27, 2016 at 07:00:11AM -0600, Tom Browder wrote:
> > > Given so many handy methods for built-in classes, it would be nice to
> > have
> > > a couple of more f
For a "convert files to $format" thing, you'd want to replace the
extension. You don't need to specify the previous extension(s) if it's a
quick-and-dirty thing where you know everything passed to it will be
acceptable; and you don't want to, if you're passing out to some other
service which can ha
On Wed, Jan 27, 2016 at 07:00:11AM -0600, Tom Browder wrote:
> Given so many handy methods for built-in classes, it would be nice to have
> a couple of more for some, for instance:
>
> IO:Path.stemname
> Like basename except any suffix is removed
Hmm, this sounds like a nice idea on a first gla
> On 27 Jan 2016, at 14:00, Tom Browder wrote:
>
> Given so many handy methods for built-in classes, it would be nice to have a
> couple of more for some, for instance:
>
> IO:Path.stemname
> Like basename except any suffix is removed
Seems like a nice idea.
> IO::Handle.say (or println)
>
10 matches
Mail list logo