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

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.
主站蜘蛛池模板: 将乐县| 金门县| 阿图什市| 广平县| 长岛县| 梁山县| 玛多县| 全南县| 威远县| 宁海县| 江陵县| 富民县| 江口县| 壶关县| 沈阳市| 佛冈县| 柳林县| 松滋市| 武功县| 佛教| 普定县| 阿鲁科尔沁旗| 石渠县| 福贡县| 绥江县| 六盘水市| 梓潼县| 衡东县| 连州市| 丰镇市| 富平县| 商丘市| 河南省| 伊春市| 耿马| 华宁县| 乐昌市| 霍邱县| 和平区| 资源县| 康保县|