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 /
On Thu, 29 Jan 2009 21:45:18 -0500
Ryan Voots simcop2...@yahoo.com 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 Csubstr also?
Ohyes, that sounds useful. I didn't have anything else in
On Fri, 30 Jan 2009 09:50:21 +0100
Elizabeth Mattijsen l...@dijkmat.nl 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
On Fri, Jan 30, 2009 at 2:32 AM, Paul LeoNerd Evans
leon...@leonerd.org.uk wrote:
On Thu, 29 Jan 2009 16:57:42 -0800
Bill Ward b...@wards.net wrote:
Why just strings? Why not scalars?
Because only strings have character positions.
Perhaps the description isn't clear enough - the string is
* On Fri, Jan 30 2009, Bill Ward wrote:
On Fri, Jan 30, 2009 at 2:32 AM, Paul LeoNerd Evans
leon...@leonerd.org.uk wrote:
On Thu, 29 Jan 2009 16:57:42 -0800
Bill Ward b...@wards.net wrote:
Why just strings? Why not scalars?
Because only strings have character positions.
I must confess I
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?
On Fri, Jan 30, 2009 at 10:07 AM, Paul LeoNerd Evans
leon...@leonerd.org.uk 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:
there is also intersection with the concept of ropes rather than
strings as I understand the term,
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 to
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 substrings.
On Fri, Jan 30, 2009 at 12:45 PM, Paul LeoNerd Evans
leon...@leonerd.org.uk 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
On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans
leon...@leonerd.org.uk 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
On Fri, Jan 30, 2009 at 2:04 PM, David Nicol davidni...@gmail.com wrote:
On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans
leon...@leonerd.org.uk 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
On Fri, Jan 30, 2009 at 2:07 PM, Bill Ward b...@wards.net wrote:
On Fri, Jan 30, 2009 at 2:04 PM, David Nicol davidni...@gmail.com wrote:
On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans
leon...@leonerd.org.uk wrote:
On Fri, Jan 30, 2009 at 02:00:13PM -0600, David Nicol wrote:
there is
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
15 matches
Mail list logo