Skip to main content
Commonmark migration
Source Link

#Clojure, 91 bytes

Clojure, 91 bytes

((fn [x] (list x (list (quote quote) x))) (quote (fn [x] (list x (list (quote quote) x)))))

#Clojure, 91 bytes

((fn [x] (list x (list (quote quote) x))) (quote (fn [x] (list x (list (quote quote) x)))))

Clojure, 91 bytes

((fn [x] (list x (list (quote quote) x))) (quote (fn [x] (list x (list (quote quote) x)))))
deleted 101 characters in body
Source Link
Riker
  • 7.9k
  • 4
  • 39
  • 73

Clojure - 1 char (cheating!) or 91 chars

The following works in Clojure:

1

However that's against the spirit of a quine! So how about: #Clojure, 91 bytes

((fn [x] (list x (list (quote quote) x))) (quote (fn [x] (list x (list (quote quote) x)))))
((fn [x] (list x (list (quote quote) x))) (quote (fn [x] (list x (list (quote quote) x)))))

Clojure - 1 char (cheating!) or 91 chars

The following works in Clojure:

1

However that's against the spirit of a quine! So how about:

((fn [x] (list x (list (quote quote) x))) (quote (fn [x] (list x (list (quote quote) x)))))

#Clojure, 91 bytes

((fn [x] (list x (list (quote quote) x))) (quote (fn [x] (list x (list (quote quote) x)))))
Source Link
mikera
  • 1.3k
  • 9
  • 12

Clojure - 1 char (cheating!) or 91 chars

The following works in Clojure:

1

However that's against the spirit of a quine! So how about:

((fn [x] (list x (list (quote quote) x))) (quote (fn [x] (list x (list (quote quote) x)))))