We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcfc1de commit 3aba2b9Copy full SHA for 3aba2b9
1 file changed
notebooks/code_interview/beating/with_stupid_stuff/z_combinator_gambit.clj
@@ -130,7 +130,10 @@
130
131
;; > Well, it's a function! That much is clear...
132
133
-#_((REV-LOGIC REV-LOGIC) [1 2 3 4 5])
+;; ```clojure
134
+;; ((REV-LOGIC REV-LOGIC) [1 2 3 4 5])
135
+;; ```
136
+;; **Error**
137
138
;; But it doesn't work, because `(REV-LOGIC REV-LOGIC) =/= REV-LOGIC.`
139
;; Let's try something easier:
@@ -204,8 +207,10 @@
204
207
205
208
;; `LOGIC` is a function of itself, returning a function that acts on a value:
206
209
-#_(LOGIC (fn SELF [VALUE]
- ((FIXED FIXED) VALUE)))
210
211
+;; (LOGIC (fn SELF [VALUE]
212
+;; ((FIXED FIXED) VALUE)))
213
214
215
;; > didn't you say that `(FIXED FIXED) = FIXED`?
216
0 commit comments