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

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.
主站蜘蛛池模板: 乾安县| 纳雍县| 云霄县| 富川| 商洛市| 察隅县| 长宁县| 宾阳县| 漯河市| 开化县| 裕民县| 库车县| 稻城县| 舞阳县| 梅河口市| 镇坪县| 富源县| 临朐县| 石柱| 普兰店市| 衡东县| 怀柔区| 抚松县| 柘城县| 伊川县| 赤壁市| 吉安县| 若尔盖县| 英吉沙县| 古交市| 肥东县| 华坪县| 安泽县| 肃宁县| 宜兴市| 无棣县| 昌邑市| 双鸭山市| 菏泽市| 方山县| 忻州市|