Erlang basically treats strings in one or two ways. 1) as pure binary data (useless for most cases) or 2) as a list of numbers. Imagine if clojure treated strings like this: (43, 22, 23, 32, 43)
So when you print any list in Erlang it checks to make sure if all the numbers in the list are in a valid ascii range, if so it prints the data as a string, if not, it uses a list format like above. Yes, it is truly terrible. Timothy > I haven't done any Erlang coding but I have heard various complaints > in blogs etc that Erlang isn't great for string handling. > > Is that what you mean? Is Erlang a good or bad example of this? > > On Jun 27, 1:11 pm, Timothy Baldridge <[email protected]> wrote: >> "1. a string/text type" >> >> *cough * Erlang *cough * >> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
