summaryrefslogtreecommitdiffhomepage
path: root/CHICKEN.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion ElensĂșlĂ« <andre@oire.org>2017-08-24 01:41:51 +0300
committerGitHub <noreply@github.com>2017-08-24 01:41:51 +0300
commit2694c89c3322b730b5635960e893323aa6524114 (patch)
treee910f541ae5e55042990459d029404c148ba1051 /CHICKEN.html.markdown
parent1058ecc7d4d966788e5d963caf9f8c27dd2ac330 (diff)
parent985d23a52b76593a120adff5381c2df3a80fe298 (diff)
Merge pull request #2807 from HairyFotr/typos
[all/en] Fix a bunch of typos
Diffstat (limited to 'CHICKEN.html.markdown')
-rw-r--r--CHICKEN.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/CHICKEN.html.markdown b/CHICKEN.html.markdown
index 080527a9..5d1daa4c 100644
--- a/CHICKEN.html.markdown
+++ b/CHICKEN.html.markdown
@@ -235,12 +235,12 @@ sqr ;; => #<procedure (sqr x)>
(= 2 1) ;; => #f
;; 'eq?' returns #t if two arguments refer to the same object in memory
-;; In other words, it's a simple pointer comparision.
+;; In other words, it's a simple pointer comparison.
(eq? '() '()) ;; => #t ;; there's only one empty list in memory
(eq? (list 3) (list 3)) ;; => #f ;; not the same object
(eq? 'yes 'yes) ;; => #t
(eq? 3 3) ;; => #t ;; don't do this even if it works in this case
-(eq? 3 3.0) ;; => #f ;; it's better to use '=' for number comparisions
+(eq? 3 3.0) ;; => #f ;; it's better to use '=' for number comparisons
(eq? "Hello" "Hello") ;; => #f
;; 'eqv?' is same as 'eq?' all datatypes except numbers and characters