1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-09-26 14:29:00 +02:00

Fix minor typographical errors

This commit is contained in:
Jason Yeo
2015-10-28 17:46:57 +08:00
parent 5789ae6772
commit 4ff79b2554

View File

@@ -22,7 +22,7 @@ will see how it is extended later on.
;;; Basic Types ;;; ;;; Basic Types ;;;
;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;
nil ; or aka null nil ; also known in other languages as null
; Booleans ; Booleans
true true
@@ -35,14 +35,15 @@ false
; Characters are preceeded by backslashes ; Characters are preceeded by backslashes
\g \r \a \c \e \g \r \a \c \e
; Keywords starts with a colon. They behave like enums. Kinda ; Keywords start with a colon. They behave like enums. Kinda
; like symbols in ruby. ; like symbols in Ruby.
:eggs :eggs
:cheese :cheese
:olives :olives
; Symbols are used to represent identifiers. You can namespace symbols by ; Symbols are used to represent identifiers. They start with #.
; using /. Whatever preceeds / is the namespace of the name. ; You can namespace symbols by using /. Whatever preceeds / is
; the namespace of the name.
#spoon #spoon
#kitchen/spoon ; not the same as #spoon #kitchen/spoon ; not the same as #spoon
#kitchen/fork #kitchen/fork
@@ -52,7 +53,7 @@ false
42 42
3.14159 3.14159
; Lists are a sequence of values ; Lists are sequences of values
(:bun :beef-patty 9 "yum!") (:bun :beef-patty 9 "yum!")
; Vectors allow random access ; Vectors allow random access