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

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.
主站蜘蛛池模板: 鱼台县| 平利县| 海安县| 竹溪县| 台北县| 西贡区| 阳春市| 成武县| 永兴县| 安西县| 光泽县| 突泉县| 梅河口市| 南安市| 龙口市| 马山县| 舞阳县| 延边| 吴堡县| 兴宁市| 富宁县| 南平市| 邹平县| 吴川市| 土默特右旗| 类乌齐县| 松江区| 湛江市| 寿宁县| 赤城县| 东海县| 安平县| 南阳市| 固原市| 彩票| 若羌县| 鄯善县| 兴宁市| 商洛市| 大田县| 琼中|