Arc Forumnew | comments | leaders | submitlogin
2 points by stefano 6149 days ago | link | parent

Implementing strings as list would be rather slow and memory consuming: you would have to use a cons cell for every character. Implementing strings as vectors and making them visible to the user as lists would be interesting.


3 points by vrk 6149 days ago | link

It doesn't matter how they are implemented (they can even be cons cells implemented as closures), as long as you can use the ordinary list functions to manipulate them. But this is the direction Arc is headed to anyway.

-----