Content deleted Content added
fix #t vs "true" distinction; partially fix tail recursion exposition |
Poor Yorick (talk | contribs) mNo edit summary |
||
Line 84:
Other common data types in Scheme besides functions and lists are: [[integer number|integer]], [[rational number|rational]], [[real number|real]], [[complex number]]s, [[symbol]]s, [[string]]s, [[port]]s. Most Scheme systems also offer [[association list]]s, [[hash table]]s, [[vector]]s, [[array]]s and [[structure]]s.
Most Scheme systems offer a full [[numerical tower]] as well as [[exact
True and false are represented by the symbols #t and #f. Actually only #f is really false when a Boolean type is required, everything else will be interpreted by Scheme as #t including the empty list. This is in contrast with LISP where the empty list is also interpreted as representing false.
|