- Learning Elixir
- Kenny Ballou
- 200字
- 2021-07-23 14:47:51
Conventions
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: "If you want an integer type back, you can use the div
and rem
functions."
A block of code is set as follows:
defmodule MyMap do def map([], _) do [] end def map([h|t], f) do [f.(h) | map(t, f)] end end square = fn x -> x * x end MyMap.map(1..5, square)
Any command-line input or output is written as follows:
iex(1)> IO.puts("Hello, World!") Hello, World! :ok iex(2)>
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: "This is the basis of what functional languages call pattern matching and is really one of the fundamental things that makes functional programming so different and so exciting."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- 黑客攻防從入門到精通(實戰(zhàn)秘笈版)
- 數(shù)據(jù)庫系統(tǒng)原理及MySQL應(yīng)用教程(第2版)
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- C++程序設(shè)計(第3版)
- Java入門經(jīng)典(第6版)
- C語言程序設(shè)計實踐教程
- Expert Android Programming
- Learning Python by Building Games
- 智能手機故障檢測與維修從入門到精通
- Instant Automapper
- Visual Basic語言程序設(shè)計基礎(chǔ)(第3版)
- Learning Cocos2d-JS Game Development
- 編程的原則:改善代碼質(zhì)量的101個方法
- Java編程指南:語法基礎(chǔ)、面向?qū)ο蟆⒑瘮?shù)式編程與項目實戰(zhàn)
- 現(xiàn)代C++語言核心特性解析