Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

ACL2

Name: Anonymous 2014-07-06 1:33

(defun replace-ints (x)

(cond ((endp x) nil)

((integerp (car x))
(cons 'I
(replace-ints (cdr x))))

(t
(cons (car x)
(replace-ints (cdr x))))))

Name: Anonymous 2014-07-06 2:12

(defn replace-ints [x]
(map (fn [y] (if (integer? y) 'I y)) x))

Name: Anonymous 2014-07-06 5:49

>>2
[]
Pig disglsting. This isn't Lisp.

Name: Anonymous 2014-07-06 5:55

>>3
THIS IS CLOJURE!
*kciks u into the sexpr void* xD

Name: Anonymous 2014-07-06 6:11

>>4
Vile, disgusting shit. Even Racket least allows using only round brackets, and any code can be purified using simple find-and-replace. This, however, makes a syntactic difference between [] and (). Call it however you want, but it sure as hell isn't Lisp.

Name: Anonymous 2014-07-06 6:14

http://clochure.org/

- I think the solution is simpler and it has been in front of our eyes since 2008.
- And what is it?
- Objective-C. Objective-C is massively popular and it has a syntax that resembles that of Clojure: [[MyObject alloc] init].
- I don’t get it? –replied the first one.
- We just swap Clojure parentheses for square brackets, and BAM!, millions of iOS developers can use our language.

Easier to read, compare: (+ (expt 2 30) 2) with [+ [expt 2 30] 2].

Name: Anonymous 2014-07-06 6:36

>>5
Stay at home mom discovers the secret to making all her square brackets perfectly round! Click here to find out how!

Name: Anonymous 2014-07-06 6:55

>>7
Clojure is not homoiconic => it's not a Lisp.

Name: Anonymous 2014-07-06 7:12

>>5
But you can write Clojure code without using [].

Name: Anonymous 2014-07-06 7:17

>>1
(mapcar (lambda (x) (if (integerp x) 'I x)) x)

Name: Anonymous 2014-07-06 7:22

>>9
You should read up on "logic" sometime, particularly on the difference between necessary conditions and sufficient ones.

Name: Anonymous 2014-07-06 7:25

>>11
You should read up on "my dick" sometime, particularly on how much more pussy it gets than yours.

Name: Anonymous 2014-07-06 7:42

>>12
You should read up on 66the medical consequences of prolapsing >>11-chan's anus99 sometime, particularly on how uncomfortable it makes >>11-chan to sit.

Name: Anonymous 2014-07-06 7:46

>>13
As it so happens I am actually an M.D and I did my dissertation on that exact thing.

Name: Anonymous 2014-07-06 9:04

>>13
I am not a chan, or a blog, or a forum. I am a person.

Name: Anonymous 2014-07-06 9:11

>>15
日本語が分からない人だろうね

Name: Anonymous 2014-07-06 9:24

>>16
Fuck off, soulless Zerg.

Name: Anonymous 2014-07-06 12:14

>>17

kekekeke

Name: Anonymous 2014-07-06 12:54

>>6
Advantages
Easier to read, compare: (+ (expt 2 30) 2) with [+ [expt 2 30] 2]
IHBT

Name: Anonymous 2014-07-06 13:02

>>19
So you think that "change all parentheses to square brackets and Clojure will become Obj-C" is a valid argument?

Name: Anonymous 2014-07-06 15:42

>>20

It will. Objective-C is shit. So...

Name: Anonymous 2014-07-06 23:52

>>21
So fresh 2014, all the hottest hits you know and love

Don't change these.
Name: Email:
Entire Thread Thread List