This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see UnsignedImaginary in WG2's repo for R7RS-large.

Unsigned­Imaginary

cowan
2014-12-28 10:21:19
2history
source

The formal syntax of R4RS through R7RS disallow unsigned imaginary numbers. Here is how the test Schemes handle the input 35i:

Undefined variable: Racket, Gauche, MIT, Chicken (with or without the numbers egg), Bigloo, Guile, SISC, SCM, Chez, JScheme, STklos, Shoe, TinyScheme, Scheme 9, S7, BDC, XLisp, Rep, Schemik, Elk, Sizzle, FemtoLisp, Inlab, Sagittarius

Unsupported lexical syntax: Scheme48/scsh, Larceny, Ypsilon, IronScheme, NexJ, KSI, SigScheme, SXM, Dfsch, Owl Lisp

Equivalent to +35i: Kawa, Vicare, Chibi, RScheme (does not support complex numbers), UMB

Returns a so-called generic object: Llava