News for hackers. Stuff that matters.
Re:Things Paul Graham is wrong about by jimbokun on Tuesday October 26, 2010 @06:00PM (#1836303)
"Paul notes that strings and lists really should just be represented as lists and the compiler should efficiently handle lists of characters as a special case."

Instead of "strings represented as lists", I think it is more useful to say "strings and lists implementing a common interface." For example, in Clojure, it is perfectly fine to treat a string as a sequence.

    > (doseq [ch "abc"]
        (println ch))
    a
    b
    c
Re:Things Paul Graham is wrong about by mahmud on Tuesday October 26, 2010 @09:04PM (#1836833)
Yeah, they're called sequences in CL, and they're even user-extensible (on sbcl at least.)
Re:Things Paul Graham is wrong about by draegtun on Wednesday October 27, 2010 @04:57AM (#1837828)