summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chicken-5.org20
1 files changed, 10 insertions, 10 deletions
diff --git a/chicken-5.org b/chicken-5.org
index 29b7be3..2f9e26c 100644
--- a/chicken-5.org
+++ b/chicken-5.org
@@ -71,7 +71,7 @@
* Scheme superpowers: closures
-** Lexical scoping
+** Lexical scoping (from definition, not from call)
Gives us *closures* (now ubiquitous; first LISP)
#+BEGIN_SRC scheme
@@ -104,16 +104,16 @@
** Numeric tower
-Systematic support for /all the numbers/
-Spec defines system, subset is allowed (see later)
+ Systematic support for /all the numbers/
+ Spec defines system, allows subset (see later)
#+BEGIN_SRC scheme
-1 ;; exact integer
-0.5 ;; inexact real number
-1/2 ;; exact rational number
-1+2i ;; exact complex number
-0.5+0.25i ;; inexact complex number
-1/2+3/4i ;; ALSO an exact complex number
-(+ 3/4 1/2) ;; yes, this returns 5/4
+ 1 ;; exact integer
+ 0.5 ;; inexact real number
+ 1/2 ;; exact rational number
+ 1+2i ;; exact complex number
+ 0.5+0.25i ;; inexact complex number
+ 1/2+3/4i ;; ALSO an exact complex number
+ (+ 3/4 1/2) ;; yes, this returns 5/4
#+END_SRC
* Scheme superpowers: REPL