Implemented CharSequence with Segment deftype in Clojure, rather than using the Java implementation
GAE compatibility