官术网_书友最值得收藏!

Chapter 1. Getting Started with Clojure

Welcome to the world of Clojure! If you are here, you probably know a little about Lisp or Clojure, but you don't really have an idea of how things work in this world.

We will get to know Clojure by comparing each feature to what you already know from Java. You will see that there are lists, maps and sets just like in Java, but they are immutable. To work with these kinds of collections, you need a different approach; a different paradigm.

This is what we will try to accomplish in this book, to give you a different way to approach problems. We hope you end up using Clojure in your every day life, but if you don't, we hope you use a new approach toward problem solving.

In this chapter, we will cover the following topics:

  • Getting to know Clojure
  • Installing Leiningen
  • Using a Read Eval Print Loop (REPL)
  • Installing and using Cursive Clojure
  • Clojure's simple syntax
  • Clojure's data types and their relationship to the JVM's data types
  • Special syntax for functions
主站蜘蛛池模板: 平原县| 宜川县| 宝应县| 青冈县| 鹤庆县| 灵丘县| 友谊县| 汉源县| 龙里县| 武功县| 大宁县| 于都县| 宜昌市| 蓬溪县| 贵定县| 青河县| 都兰县| 砚山县| 旬阳县| 万宁市| 东阿县| 涞源县| 沙田区| 历史| 西乡县| 鄄城县| 宝坻区| 兴安县| 亳州市| 西藏| 兴业县| 杂多县| 光山县| 凌海市| 夏河县| 呈贡县| 菏泽市| 金塔县| 伊春市| 全南县| 大新县|