Repeat support

added http://dev.clojure.org/jira/browse/CTYP-171