3 little clojure functions ii

Post on 10-Nov-2014

528 views 0 download

Tags:

description

clojure, dev, functional, func

Transcript of 3 little clojure functions ii

2 little (seq, repeat) functions 1 macro (lazy-seq )…and The Car & Bank Functions

@diego_pacheco

@diego_pacheco

diego-pacheco.blogspot.com

Yes, I’m a geek guy.

(And I like dinosaurs)

github.com/diegopacheco

Respect The REPL

Remember…

Remember…

(NO enterprise java Bullshit PLEASE)

repeat

seq

lazy-seq (macro)

Car func

Functional Unit Testing

Car func

Defining structures and data

Car func

Defining the function

It’s time !!!(I’m back from London…)

DEV

Bank-* funcsFunctional Unit Testing

Bank-* funcsDefining structures and data

Bank-* funcsDefining structures and data

What's Next ?

Homework (all)• 5 new Functions from clojure.core• 10 problems at 4clojure (share 2 solutions) • Make java call Clojure Car func

Recommended Books

(pr “Thanks All Folks”)

@diego_pacheco