From b31815c0b39e0f28c6b793987a0e44dcfb61fd43 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Mon, 29 Apr 2019 22:22:05 +0200 Subject: Some minor tweaks --- chicken-5.org | 20 ++++++++++---------- 1 file 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 -- cgit v1.2.3