On Fri, Jan 30, 2009 at 02:08:24PM -0800, Bill Ward wrote:
> Or String::Substrate? The meaning of "substrate" doesn't really fit
> here but it's so close to SubStrAttr that I bet you could get away
> with it, with a suitable comment explaining the name :)
I can't help thinking we're getting a bit
On Fri, Jan 30, 2009 at 2:07 PM, Bill Ward wrote:
> On Fri, Jan 30, 2009 at 2:04 PM, David Nicol wrote:
>> On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans
>> wrote:
>>> On Fri, Jan 30, 2009 at 02:00:13PM -0600, David Nicol wrote:
there is also intersection with the concept of "ropes" ra
On Fri, Jan 30, 2009 at 2:04 PM, David Nicol wrote:
> On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans
> wrote:
>> On Fri, Jan 30, 2009 at 02:00:13PM -0600, David Nicol wrote:
>>> there is also intersection with the concept of "ropes" rather than
>>> "strings" as I understand the term,
>>
>> A
On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans
wrote:
> On Fri, Jan 30, 2009 at 02:00:13PM -0600, David Nicol wrote:
>> there is also intersection with the concept of "ropes" rather than
>> "strings" as I understand the term,
>
> A rope is a data structure designed to make string concat an O(
On Fri, Jan 30, 2009 at 12:45 PM, Paul LeoNerd Evans
wrote:
> On Fri, Jan 30, 2009 at 10:11:33AM -0800, Bill Ward wrote:
>> > String::Overlay
>> > String::Overlaid
>> > String::Overlays
>> I think Overlain may be more grammatical than Overlaid
>
> Overlaid, Overlain... One of those annoying cen
On Fri, Jan 30, 2009 at 02:00:13PM -0600, David Nicol wrote:
> there is also intersection with the concept of "ropes" rather than
> "strings" as I understand the term,
A rope is a data structure designed to make string concat an O(1)
operation, where you store a tree, or a linked list of substring
On Fri, Jan 30, 2009 at 10:11:33AM -0800, Bill Ward wrote:
> > String::Overlay
> > String::Overlaid
> > String::Overlays
> I think Overlain may be more grammatical than Overlaid
Overlaid, Overlain... One of those annoying centuries-old legacies of
languages. Seems Perl isn't the only language
there is also intersection with the concept of "ropes" rather than
"strings" as I understand the term,
On Fri, Jan 30, 2009 at 10:07 AM, Paul LeoNerd Evans
wrote:
> On Fri, Jan 30, 2009 at 09:15:35AM -0600, Jonathan Rockway wrote:
>> * On Fri, Jan 30 2009, Bill Ward wrote:
>> I agree here. There is prior art for calling these "overlays":
>>
>> http://www.gnu.org/software/emacs/elisp/html_node/Over
On Fri, Jan 30, 2009 at 09:15:35AM -0600, Jonathan Rockway wrote:
> * On Fri, Jan 30 2009, Bill Ward wrote:
> I agree here. There is prior art for calling these "overlays":
>
> http://www.gnu.org/software/emacs/elisp/html_node/Overlays.html
Ah; would this suggest something like these?
String::
* On Fri, Jan 30 2009, Bill Ward wrote:
> On Fri, Jan 30, 2009 at 2:32 AM, Paul LeoNerd Evans
> wrote:
>> On Thu, 29 Jan 2009 16:57:42 -0800
>> Bill Ward wrote:
>>
>>> Why just strings? Why not scalars?
>>
>> Because only strings have character positions.
>>
> I must confess I didn't read your d
On Fri, Jan 30, 2009 at 2:32 AM, Paul LeoNerd Evans
wrote:
> On Thu, 29 Jan 2009 16:57:42 -0800
> Bill Ward wrote:
>
>> Why just strings? Why not scalars?
>
> Because only strings have character positions.
>
> Perhaps the description isn't clear enough - the string is the thing that
> has tags.
On Fri, 30 Jan 2009 09:50:21 +0100
Elizabeth Mattijsen wrote:
> Without having looked at implementation,
Ah; I purposely didn't include that because it isn't finished in some
parts - I wanted an idea of what people thought of the interface first, I
can hack up those ideas behind the method name
On Thu, 29 Jan 2009 21:45:18 -0500
Ryan Voots wrote:
> I don't know how you would feel about this but what about also
> overloading the stringification of the object so that one could use the
> built in C also?
Ohyes, that sounds useful. I didn't have anything else in mind for
stringification,
On Thu, 29 Jan 2009 16:57:42 -0800
Bill Ward wrote:
> Why just strings? Why not scalars?
Because only strings have character positions.
Perhaps the description isn't clear enough - the string is the thing that
has tags. Tags are name/value pairs that apply to some substring range of
positions
At 8:43 AM + 1/30/09, Paul LeoNerd Evans wrote:
I find myself requiring an object to store a text string, with ways to
throw markup or presentation attributes around it, but in such a way
that they're easy to edit and change separately from the string data.
I.e. the usual embedded HTML / ANSI
16 matches
Mail list logo