3 little clojure functions ii
-
Upload
diego-pacheco -
Category
Technology
-
view
528 -
download
0
description
Transcript of 3 little clojure functions ii
![Page 1: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/1.jpg)
2 little (seq, repeat) functions 1 macro (lazy-seq )…and The Car & Bank Functions
@diego_pacheco
![Page 2: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/2.jpg)
@diego_pacheco
diego-pacheco.blogspot.com
Yes, I’m a geek guy.
(And I like dinosaurs)
github.com/diegopacheco
![Page 3: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/3.jpg)
Respect The REPL
Remember…
![Page 4: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/4.jpg)
Remember…
(NO enterprise java Bullshit PLEASE)
![Page 5: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/5.jpg)
repeat
![Page 6: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/6.jpg)
seq
![Page 7: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/7.jpg)
lazy-seq (macro)
![Page 8: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/8.jpg)
Car func
Functional Unit Testing
![Page 9: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/9.jpg)
Car func
Defining structures and data
![Page 10: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/10.jpg)
Car func
Defining the function
![Page 11: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/11.jpg)
It’s time !!!(I’m back from London…)
DEV
![Page 12: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/12.jpg)
Bank-* funcsFunctional Unit Testing
![Page 13: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/13.jpg)
Bank-* funcsDefining structures and data
![Page 14: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/14.jpg)
Bank-* funcsDefining structures and data
![Page 15: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/15.jpg)
What's Next ?
Homework (all)• 5 new Functions from clojure.core• 10 problems at 4clojure (share 2 solutions) • Make java call Clojure Car func
![Page 16: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/16.jpg)
Recommended Books
![Page 17: 3 little clojure functions ii](https://reader034.fdocuments.in/reader034/viewer/2022052522/5462fbbcaf7959477b8b51aa/html5/thumbnails/17.jpg)
(pr “Thanks All Folks”)
@diego_pacheco