Added spacing

This commit is contained in:
Justin Ethier 2016-10-04 00:17:34 -04:00
parent a1ea2746bf
commit dae79a1710
4 changed files with 449 additions and 0 deletions

View file

@ -158,348 +158,694 @@ For more information see the [R<sup>7</sup>RS Scheme Specification](../../r7rs.p
#abs #abs
(abs num) (abs num)
#and #and
(and {test1} ...) (and {test1} ...)
#any #any
(any pred lst) (any pred lst)
#append #append
(append list ...) (append list ...)
#assoc #assoc
(assoc obj alist) (assoc obj alist)
(assoc obj alist compare) (assoc obj alist compare)
#assq #assq
(assq obj alist) (assq obj alist)
#assv #assv
(assv obj alist) (assv obj alist)
#begin #begin
(begin {expression or definition} ...) (begin {expression or definition} ...)
#boolean=? #boolean=?
(boolean=? b1 b2 ...) (boolean=? b1 b2 ...)
#bytevector-copy #bytevector-copy
(bytevector-copy bytevector) (bytevector-copy bytevector)
(bytevector-copy bytevector start) (bytevector-copy bytevector start)
(bytevector-copy bytevector start end) (bytevector-copy bytevector start end)
#bytevector-copy! #bytevector-copy!
(bytevector-copy! to at from) (bytevector-copy! to at from)
(bytevector-copy! to at from start) (bytevector-copy! to at from start)
(bytevector-copy! to at from start end) (bytevector-copy! to at from start end)
#call-with-current-continuation #call-with-current-continuation
(call-with-current-continuation proc) (call-with-current-continuation proc)
#call-with-port #call-with-port
(call-with-port port proc) (call-with-port port proc)
#call-with-values #call-with-values
(call-with-values producer consumer) (call-with-values producer consumer)
#call/cc #call/cc
(call/cc proc) (call/cc proc)
#case #case
(case {key} {clause1} {clause2} ...) (case {key} {clause1} {clause2} ...)
#ceiling #ceiling
(ceiling z) (ceiling z)
#char<=? #char<=?
(char<=? c1 c2 c3 ...) (char<=? c1 c2 c3 ...)
#char<? #char<?
(char<? c1 c2 c3 ...) (char<? c1 c2 c3 ...)
#char=? #char=?
(char=? c1 c2 c3 ...) (char=? c1 c2 c3 ...)
#char>=? #char>=?
(char>=? c1 c2 c3 ...) (char>=? c1 c2 c3 ...)
#char>? #char>?
(char>? c1 c2 c3 ...) (char>? c1 c2 c3 ...)
#complex? #complex?
(complex? obj) (complex? obj)
#cond #cond
(cond {clause1} {clause2} ...) (cond {clause1} {clause2} ...)
#cond-expand #cond-expand
(cond-expand {ce-clause2} {ce-clause2} ...) (cond-expand {ce-clause2} {ce-clause2} ...)
#current-error-port #current-error-port
(current-error-port) (current-error-port)
#current-input-port #current-input-port
(current-input-port) (current-input-port)
#current-output-port #current-output-port
(current-output-port) (current-output-port)
#define-record-type #define-record-type
(define-record-type {name} (define-record-type {name}
{constructor} {pred} {field} ...) {constructor} {pred} {field} ...)
#denominator #denominator
(denominator n) (denominator n)
#do #do
(do (({variable1} {init1} {step1}) (do (({variable1} {init1} {step1})
...) ...)
({test} {expression} ...) ({test} {expression} ...)
{command} ...) {command} ...)
#dynamic-wind #dynamic-wind
(dynamic-wind before thunk after) (dynamic-wind before thunk after)
#eof-object #eof-object
(eof-object) (eof-object)
#error #error
(error message obj ...) (error message obj ...)
#even? #even?
(even? num) (even? num)
#every #every
(every pred lst) (every pred lst)
#exact #exact
(exact? num) (exact? num)
#exact-integer? #exact-integer?
(exact-integer? num) (exact-integer? num)
#exact? #exact?
(exact? num) (exact? num)
#expt #expt
(expt z1 z2) (expt z1 z2)
#features #features
(features) (features)
#floor #floor
(floor z) (floor z)
#floor-quotient #floor-quotient
(floor-quotient n m) (floor-quotient n m)
#floor-remainder #floor-remainder
(floor-remainder n m) (floor-remainder n m)
#floor/ #floor/
(floor/ n m) (floor/ n m)
#flush-output-port #flush-output-port
(flush-output-port) (flush-output-port)
(flush-output-port port) (flush-output-port port)
#foldl #foldl
(foldl func accum lst) (foldl func accum lst)
#foldr #foldr
(foldr func end lst) (foldr func end lst)
#for-each #for-each
(for-each proc list1 list2 ...) (for-each proc list1 list2 ...)
#gcd #gcd
(gcd n1 ...) (gcd n1 ...)
#get-output-bytevector #get-output-bytevector
(get-output-bytevector port) (get-output-bytevector port)
#get-output-string #get-output-string
(get-output-string port) (get-output-string port)
#guard #guard
(guard ({variable} (guard ({variable}
{cond clause1} {cond clause2} ...) {cond clause1} {cond clause2} ...)
{body}) {body})
#inexact #inexact
(inexact z) (inexact z)
#inexact? #inexact?
(inexact? num) (inexact? num)
#input-port-open? #input-port-open?
(input-port-open? port) (input-port-open? port)
#input-port? #input-port?
(input-port? port) (input-port? port)
#lcm #lcm
(lcm n1 ...) (lcm n1 ...)
#let #let
(let {bindings} {body}) (let {bindings} {body})
#let* #let*
(let* {bindings} {body}) (let* {bindings} {body})
#let*-values #let*-values
(let*-values {mv binding spec} {body}) (let*-values {mv binding spec} {body})
#let-values #let-values
(let-values {mv binding spec} {body}) (let-values {mv binding spec} {body})
#letrec #letrec
(letrec {bindings} {body}) (letrec {bindings} {body})
#letrec* #letrec*
(letrec* {bindings} {body}) (letrec* {bindings} {body})
#list #list
(list obj ...) (list obj ...)
#list-copy #list-copy
(list-copy lst) (list-copy lst)
#list-ref #list-ref
(list-ref lst k) (list-ref lst k)
#list-set! #list-set!
(list-set! lst k obj) (list-set! lst k obj)
#list-tail #list-tail
(list-tail lst k) (list-tail lst k)
#list? #list?
(list? o) (list? o)
#make-constructor #make-constructor
(make-constructor make name) (make-constructor make name)
#make-getter #make-getter
(make-getter sym name idx) (make-getter sym name idx)
#make-list #make-list
(make-list k ) (make-list k )
(make-list k fill) (make-list k fill)
#make-parameter #make-parameter
(make-parameter init) (make-parameter init)
(make-parameter init converter) (make-parameter init converter)
#make-setter #make-setter
(make-setter sym name idx) (make-setter sym name idx)
#make-string #make-string
(make-string k) (make-string k)
(make-string k fill) (make-string k fill)
#make-type-predicate #make-type-predicate
(make-type-predicate pred name) (make-type-predicate pred name)
#map #map
(map proc list1 list2 ...) (map proc list1 list2 ...)
#max #max
(max x1 x2 ...) (max x1 x2 ...)
#member #member
(member obj lst) (member obj lst)
(member obj lst compare) (member obj lst compare)
#memq #memq
(memq obj lst) (memq obj lst)
#memv #memv
(memv obj lst) (memv obj lst)
#min #min
(min x1 x2 ...) (min x1 x2 ...)
#modulo #modulo
(modulo a b) (modulo a b)
#negative? #negative?
(negative? n) (negative? n)
#newline #newline
(newline) (newline)
(newline port) (newline port)
#not #not
(not x) (not x)
#numerator #numerator
(numerator n) n) (numerator n) n)
#odd? #odd?
(odd? num) (odd? num)
#open-input-bytevector #open-input-bytevector
(open-input-bytevector bv) (open-input-bytevector bv)
#open-input-string #open-input-string
(open-input-string string) (open-input-string string)
#open-output-bytevector #open-output-bytevector
(open-output-bytevector open-output-string) (open-output-bytevector open-output-string)
#open-output-string #open-output-string
(open-output-string) (open-output-string)
#or #or
(or {test1} ...) (or {test1} ...)
#output-port-open? #output-port-open?
(output-port-open? port) (output-port-open? port)
#output-port? #output-port?
(output-port? obj) (output-port? obj)
#parameterize #parameterize
(parameterize (({param1} {value1}) ...) (parameterize (({param1} {value1}) ...)
{body}) {body})
#positive? #positive?
(positive? n) (positive? n)
#quasiquote #quasiquote
(quasiquote {qq template}) (quasiquote {qq template})
#quotient #quotient
(quotient x y) (quotient x y)
#raise #raise
(raise obj) (raise obj)
#raise-continuable #raise-continuable
(raise-continuable obj) (raise-continuable obj)
#rational? #rational?
(rational? obj) (rational? obj)
#read-line #read-line
(read-line) (read-line)
(read-line port) (read-line port)
#read-string #read-string
(read-string k) (read-string k)
(read-string k port) (read-string k port)
#receive #receive
(receive {formals} {expression} {body}) (receive {formals} {expression} {body})
#record? #record?
(record? obj) (record? obj)
#remainder #remainder
(remainder num1 num2) (remainder num1 num2)
#reverse #reverse
(reverse lst) (reverse lst)
#round #round
(round z) (round z)
#slot-set! #slot-set!
(slot-set! name obj idx val) (slot-set! name obj idx val)
#square #square
(square z) (square z)
#string #string
(string char ...) (string char ...)
#string->list #string->list
(string->list string) (string->list string)
(string->list string start) (string->list string start)
(string->list string start end) (string->list string start end)
#string->utf8 #string->utf8
(string->utf8 string) (string->utf8 string)
(string->utf8 string start) (string->utf8 string start)
(string->utf8 string start end) (string->utf8 string start end)
#string->vector #string->vector
(string->vector string) (string->vector string)
(string->vector string start) (string->vector string start)
(string->vector string start end) (string->vector string start end)
#string-copy #string-copy
(string-copy string) (string-copy string)
(string-copy string start) (string-copy string start)
(string-copy string end) (string-copy string end)
#string-copy! #string-copy!
(string-copy! to at from) (string-copy! to at from)
(string-copy! to at from start) (string-copy! to at from start)
(string-copy! to at from start end) (string-copy! to at from start end)
#string-fill! #string-fill!
(string-fill! str fill) (string-fill! str fill)
(string-fill! str fill start) (string-fill! str fill start)
(string-fill! str fill start end) (string-fill! str fill start end)
#string-for-each #string-for-each
(string-for-each proc string1 string2 ...) (string-for-each proc string1 string2 ...)
#string-map #string-map
(string-map proc string1 string2 ...) (string-map proc string1 string2 ...)
#string<=? #string<=?
(string<=? str1 str2) (string<=? str1 str2)
#string<? #string<?
(string<? str1 str2) (string<? str1 str2)
#string=? #string=?
(string=? str1 str2) (string=? str1 str2)
#string>=? #string>=?
(string>=? str1 str2) (string>=? str1 str2)
#string>? #string>?
(string>? str1 str2) (string>? str1 str2)
#symbol=? #symbol=?
(symbol=? symbol1 symbol2 symbol3 ...) (symbol=? symbol1 symbol2 symbol3 ...)
#syntax-error #syntax-error
(syntax-error {message} {args} ...) (syntax-error {message} {args} ...)
#truncate #truncate
(truncate z) (truncate z)
#truncate-quotient #truncate-quotient
(truncate-quotient quotient) (truncate-quotient quotient)
#truncate-remainder #truncate-remainder
(truncate-remainder remainder) (truncate-remainder remainder)
#truncate/ #truncate/
(truncate/ n m) (truncate/ n m)
#type-slot-offset #type-slot-offset
(type-slot-offset name sym) (type-slot-offset name sym)
#unless #unless
(unless {test} {expression1} {expression2} ...) (unless {test} {expression1} {expression2} ...)
#utf8->string #utf8->string
(utf8->string bytevector) (utf8->string bytevector)
(utf8->string bytevector start) (utf8->string bytevector start)
(utf8->string bytevector start end) (utf8->string bytevector start end)
#values #values
(values obj ...) (values obj ...)
#vector #vector
(vector obj ...) (vector obj ...)
#vector->list #vector->list
(vector->list vector) (vector->list vector)
(vector->list vector start) (vector->list vector start)
(vector->list vector start end) (vector->list vector start end)
#vector->string #vector->string
(vector->string vector) (vector->string vector)
(vector->string vector start) (vector->string vector start)
(vector->string vector start end) (vector->string vector start end)
#vector-append #vector-append
(vector-append vector ...) (vector-append vector ...)
#vector-copy #vector-copy
(vector-copy vector) (vector-copy vector)
(vector-copy vector start) (vector-copy vector start)
(vector-copy vector start end) (vector-copy vector start end)
#vector-copy! #vector-copy!
(vector-copy! to at from) (vector-copy! to at from)
(vector-copy! to at from start) (vector-copy! to at from start)
(vector-copy! to at from start end) (vector-copy! to at from start end)
#vector-fill! #vector-fill!
(vector-fill! vector fill) (vector-fill! vector fill)
(vector-fill! vector fill start) (vector-fill! vector fill start)
(vector-fill! vector fill start end) (vector-fill! vector fill start end)
#vector-for-each #vector-for-each
(vector-for-each proc vector1 vector2 ...) (vector-for-each proc vector1 vector2 ...)
#vector-map #vector-map
(vector-map proc vector1 vector2 ...) (vector-map proc vector1 vector2 ...)
#when #when
(when {test} {expression1} {expression2} ...) (when {test} {expression1} {expression2} ...)
#with-exception-handler #with-exception-handler
(with-exception-handler handler thunk) (with-exception-handler handler thunk)
#write-char #write-char
(write-char char) (write-char char)
(write-char char port) (write-char char port)
#write-string #write-string
(write-string string) (write-string string)
(write-string string port) (write-string string port)
#zero? #zero?
(zero? n) (zero? n)

View file

@ -28,47 +28,90 @@ For more information see the [R<sup>7</sup>RS Scheme Specification](../../r7rs.p
- [`string-upcase`](#string-upcase) - [`string-upcase`](#string-upcase)
#char-alphabetic? #char-alphabetic?
(char-alphabetic? c) (char-alphabetic? c)
#char-ci<=? #char-ci<=?
(char-ci<=? c1 c2 . cs) (char-ci<=? c1 c2 . cs)
#char-ci<? #char-ci<?
(char-ci<? c1 c2 . cs) (char-ci<? c1 c2 . cs)
#char-ci=? #char-ci=?
(char-ci=? c1 c2 . cs) (char-ci=? c1 c2 . cs)
#char-ci>=? #char-ci>=?
(char-ci>=? c1 c2 . cs) (char-ci>=? c1 c2 . cs)
#char-ci>? #char-ci>?
(char-ci>? c1 c2 . cs) (char-ci>? c1 c2 . cs)
#char-downcase #char-downcase
(char-downcase c) (char-downcase c)
#char-foldcase #char-foldcase
(char-foldcase c) (char-foldcase c)
#char-lower-case? #char-lower-case?
(char-lower-case? c) (char-lower-case? c)
#char-numeric? #char-numeric?
(char-numeric? c) (char-numeric? c)
#char-upcase #char-upcase
(char-upcase c) (char-upcase c)
#char-upper-case? #char-upper-case?
(char-upper-case? c) (char-upper-case? c)
#char-whitespace? #char-whitespace?
(char-whitespace? c) (char-whitespace? c)
#digit-value #digit-value
(digit-value c) (digit-value c)
#string-ci<=? #string-ci<=?
(string-ci<=? s1 s2) (string-ci<=? s1 s2)
#string-ci<? #string-ci<?
(string-ci<? s1 s2) (string-ci<? s1 s2)
#string-ci=? #string-ci=?
(string-ci=? s1 s2) (string-ci=? s1 s2)
#string-ci>=? #string-ci>=?
(string-ci>=? s1 s2) (string-ci>=? s1 s2)
#string-ci>? #string-ci>?
(string-ci>? s1 s2) (string-ci>? s1 s2)
#string-downcase #string-downcase
(string-downcase str) (string-downcase str)
#string-foldcase #string-foldcase
(string-foldcase str) (string-foldcase str)
#string-upcase #string-upcase
(string-upcase str) (string-upcase str)

View file

@ -12,14 +12,26 @@ For more information see the [R<sup>7</sup>RS Scheme Specification](../../r7rs.p
- [`real-part`](#real-part) - [`real-part`](#real-part)
#angle #angle
(angle z) (angle z)
#imag-part #imag-part
(imag-part x) (imag-part x)
#magnitude #magnitude
(magnitude z) (magnitude z)
#make-polar #make-polar
(make-polar x y) (make-polar x y)
#make-rectangular #make-rectangular
(make-rectangular x y) (make-rectangular x y)
#real-part #real-part
(real-part x) (real-part x)

View file

@ -35,50 +35,98 @@ For more information see the [R<sup>7</sup>RS Scheme Specification](../../r7rs.p
- [`cddddr`](#cddddr) - [`cddddr`](#cddddr)
#caaar #caaar
(caaar list) (caaar list)
#caadr #caadr
(caadr list) (caadr list)
#cadar #cadar
(cadar list) (cadar list)
#caddr #caddr
(caddr list) (caddr list)
#cdaar #cdaar
(cdaar list) (cdaar list)
#cdadr #cdadr
(cdadr list) (cdadr list)
#cddar #cddar
(cddar list) (cddar list)
#cdddr #cdddr
(cdddr list) (cdddr list)
#caaaar #caaaar
(caaaar list) (caaaar list)
#caaadr #caaadr
(caaadr list) (caaadr list)
#caadar #caadar
(caadar list) (caadar list)
#caaddr #caaddr
(caaddr list) (caaddr list)
#cadaar #cadaar
(cadaar list) (cadaar list)
#cadadr #cadadr
(cadadr list) (cadadr list)
#caddar #caddar
(caddar list) (caddar list)
#cadddr #cadddr
(cadddr list) (cadddr list)
#cdaaar #cdaaar
(cdaaar list) (cdaaar list)
#cdaadr #cdaadr
(cdaadr list) (cdaadr list)
#cdadar #cdadar
(cdadar list) (cdadar list)
#cdaddr #cdaddr
(cdaddr list) (cdaddr list)
#cddaar #cddaar
(cddaar list) (cddaar list)
#cddadr #cddadr
(cddadr list) (cddadr list)
#cdddar #cdddar
(cdddar list) (cdddar list)
#cddddr #cddddr
(cddddr list) (cddddr list)