4 events
when toggle format what by license comment
May 5 '17 at 12:01 comment added clismique Also, the current state of your code doesn't work, (#(...) "codegolf" 125) must add 125 percent of the length of "codegolf" instead of 125 times the length of "codegolf". So, the fixed program would be: #(str %(apply str(repeat(*(count %)%2 1/100)\)))), which is 49 bytes.
May 5 '17 at 11:58 comment added clismique Welcome to the world of Lisp! :P In Clojure, you can use the condensed form of anonymous functions #(...), and you can get rid of the print (since function returns should be acceptable). You can change reduce to apply for the str function, and you can change ")" to \), which does the same thing. So, the final code should be: #(str %(apply str(repeat(*(count %)%2)\))))).
Feb 2 '17 at 3:49 history edited shadowtalker CC BY-SA 3.0
added 8 characters in body
Feb 2 '17 at 3:38 history answered shadowtalker CC BY-SA 3.0