* Andy Armstrong <[EMAIL PROTECTED]> [2007-10-10 22:45]:

Nice email address. :-P

> This evening I started playing with String::Smart (the name is
> as provisional as everything else).

Something with “language”, “type”, “quoting” or “escaping” would
be more appropriate I think.

> In general a String::Smart string knows which transformations
> are currently applied to a string and when you ask for a
> particular representation of that string it computes the path
> from the current encoding to the desired encoding and applies
> the transformations in the appropriate order.

Have you seen Tom Moertel’s article on applying Haskell to this?
http://blog.moertel.com/articles/2006/10/18/a-type-based-solution-to-the-strings-problem

See also String::EscapeCage, which was discussed recently on this
list, and which is just as horribly named. :-)  It differs in
that it doesn’t address the chaining you mention, and by hooking
itself into tainting.

And I’m almost positive that I have seen one more module that
tries to address the exact same issue.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to