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 wishmv lein ~/binecho "export PATH=$PATH:~/bin/">> ~/.bashrcsource ~/.bashrc# Everything should be running now, let's test itlein 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.