Conditional branching with cond
Conditional branching with cond
B01 Introduction to Clojure
Day 1: Syntax and REPL
Day 1: Syntax and REPL
Day 2: Data Structures and Editor
Day 2: Data Structures and Editor
Day3: Data-Driven Programming
Day3: Data-Driven Programming
In this lesson, we learn to write conditional branches using cond. Documentation can be found:
cond.- ClojureDocs
Look for these files in the repo or click the links for the online versions:
day1/008 cond/before.clj– the code you need loaded in the REPL for copy-pastingday1/008 cond/after.clj– the code we develop in the lesson