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

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Create a package called handson.example by expanding to src/main/scala and right-clicking on this folder."

A block of code is set as follows:

scala> def factorial(n: Int): Long = if (n <= 1) 1 else n * factorial(n-1)
factorial: (n: Int)Int

scala> factorial(5)
res0: Long = 120

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

$ brew install sbt@1

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click on Create New Project, and then click on Scala and select the sbt console."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 万盛区| 梨树县| 进贤县| 汉阴县| 西和县| 荆州市| 五原县| 麻栗坡县| 深圳市| 手机| 武隆县| 桐城市| 重庆市| 富平县| 江阴市| 蓬莱市| 彝良县| 文水县| 商水县| 万载县| 安仁县| 峨眉山市| 仁布县| 清河县| 新余市| 腾冲县| 庆城县| 略阳县| 太仓市| 报价| 鸡西市| 辽宁省| 丰宁| 体育| 布拖县| 临澧县| 廉江市| 分宜县| 乌苏市| 孝昌县| 泰宁县|