Skip to content

First Steps in Clojureλ︎

Start a Clojure REPL and evalute the code examples in this section to gain experience with Clojure.

Hello World is a common first line of code in any new language.

From this humble beginning the following concepts are introduced.

  • fundamental syntax
  • expressions
  • calling functions and arguments
  • implicity types
  • homoiconicity

Exercises

Mathematicsλ︎

  • number representations
  • integer, double, float, ratio, BigInt, BigDecimal, E, M
  • clojure.core math functions
  • Java math functions

Exercises

  • Age of Languages
  • Convert time to numbers