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

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We are using :require to include functions from the clojure.test and the ns-playground.core packages."

A block of code is set as follows:

curl -O https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
# The next step just set up the lein script in your path, you can do it any way you wish
mv lein ~/bin
echo "export PATH=$PATH:~/bin/">> ~/.bashrc
source ~/.bashrc
# Everything should be running now, let's test it
lein help

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

lein new app getting-started
cd getting-started
lein run
# Hello, world!

Any command-line input or output is written as follows:

lein uberjar

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "After that you can run any tests, just open your test file and go to Tools | Run Tests in the current NS in REPL."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 德江县| 上杭县| 浮梁县| 新竹市| 万盛区| 调兵山市| 应用必备| 长春市| 华宁县| 额尔古纳市| 郑州市| 昔阳县| 宜黄县| 探索| 扎赉特旗| 定安县| 长白| 崇阳县| 禄丰县| 靖安县| 梓潼县| 平潭县| 通江县| 双江| 鸡东县| 乐昌市| 凯里市| 元江| 梁河县| 永州市| 武鸣县| 龙井市| 丰都县| 迁西县| 蓬莱市| 兴业县| 武平县| 巴楚县| 米林县| 长白| 广昌县|