File tree Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 66 (->> " ola"
77 (x )))
88
9-
109(->> " ola"
1110 (x ))
1211
2221 (println " Twice 15 =" (twice 15 ))
2322 (println " Six times 15 =" (six-times 15 )))
2423
24+ (letfn [(twice [x]
25+ (* x 2 ))]
26+ (->> " ola"
27+ (x )))
28+
29+ (letfn [(foo [x y]
30+ (->> x
31+ y
32+ :bar ))
33+ (twice [x]
34+ (* x 2 ))
35+ (six-times [y]
36+ (* (twice y) 3 ))]
37+ (foo #{:foo :bar :biz } :foo ))
38+
2539; ; vim:ft=clojure:
Original file line number Diff line number Diff line change 66 (->> " ola"
77 (x )))
88
9-
109(->> " ola"
1110 (x ))
1211
1615 (x ))))
1716
1817(letfn [(twice [x]
19- (* x 2 ))
18+ (* x 2 ))
2019 (six-times [y]
21- (* (twice y) 3 ))]
20+ (* (twice y) 3 ))]
2221 (println " Twice 15 =" (twice 15 ))
2322 (println " Six times 15 =" (six-times 15 )))
2423
24+ (letfn [(twice [x]
25+ (* x 2 ))]
26+ (->> " ola"
27+ (x )))
28+
29+ (letfn [(foo [x y]
30+ (->> x
31+ y
32+ :bar ))
33+ (twice [x]
34+ (* x 2 ))
35+ (six-times [y]
36+ (* (twice y) 3 ))]
37+ (foo #{:foo :bar :biz } :foo ))
38+
2539; ; vim:ft=clojure:
You can’t perform that action at this time.
0 commit comments