From crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!europa.eng.gtefsd.com!emory!swrinde!sdd.hp.com!think.com!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines Sat Jun 12 23:04:01 EDT 1993 Article: 6936 of comp.lang.scheme Xref: crabapple.srv.cs.cmu.edu comp.lang.scheme:6936 Newsgroups: comp.lang.scheme Path: crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!europa.eng.gtefsd.com!emory!swrinde!sdd.hp.com!think.com!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines From: kend@newton.apple.COM (Ken Dickey) Subject: Scheme Finction Signature Quick Reference Message-ID: <9306120439.AA16169@newton.apple.com> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Date: Sat, 12 Jun 1993 04:39:03 GMT Lines: 210 Well, I had to go through a box of floppies to find it and xfer it through 3 compute systems, but I did save retyping... Enjoy! -Ken --------------------------------------------------------------- ;; FILE "Scheme Sigs" ;; IMPLEMENTS R^4RS Function Signature Synopsis ;; AUTHOR Kenneth A Dickey ;; DATE 1992 October 2 ;; LAST UPDATED 1992 October 3 ;; NOTES: Extracted from Amiga Gambit QuickTour file === FUNCTION SYNOPSIS === Here is a quick reference of the signatures of provided functions. Aside from Extensions, there is no attempt at completeness. It is assumed that the user has a copy of R^4RS or the IEEE/ANSI standard. Notation: any Scheme data object. * zero or more objects + one or more objects [] optional object ; SYNTAX (LAMBDA + ) (LAMBDA (* ) + ) (AND *) (OR *) (IF [] ) (COND ( * )... [(ELSE +)] ) (CASE ((+ ) * )... [(ELSE +)] ) (LET [] ( ( ) ) ) (LET* ( ( ) ) ) (LETREC ( ( ) ) ) (BEGIN + ) (DO ( ( )... ) ( * ) * ) ;; Note also R^4RS syntax, below ; IEEE Scheme (NOT ) (BOOLEAN? ) (EQ? ) (EQV? ) (EQUAL? ) (PAIR? ) (CONS ) (CAR ) (CDR ) (SET-CAR! ) (SET-CDR! ) (CAAR ) (CADR ) (CDAR ) (CDDR ) (CAAAR ) (CAADR ) (CADAR ) (CADDR ) (CDAAR ) (CDADR ) (CDDAR ) (CDDDR ) (CAAAAR ) (CAAADR ) (CAADAR ) (CAADDR ) (CADAAR ) (CADADR ) (CADDAR ) (CADDDR ) (CDAAAR ) (CDAADR ) (CDADAR ) (CDADDR ) (CDDAAR ) (CDDADR ) (CDDDAR ) (CDDDDR ) (NULL? ) (LIST? ) (LIST * ) (LENGTH ) (APPEND + ) (REVERSE ) (LIST-REF ) (MEMQ ) (MEMV ) (MEMBER ) (ASSQ ) (ASSV ) (ASSOC ) (SYMBOL? ) (SYMBOL->STRING ) (STRING->SYMBOL ) (NUMBER? ) (COMPLEX? ) (REAL? ) (RATIONAL? ) (INTEGER? ) (EXACT? ) (INEXACT? ) (= + ) (< + ) (> + ) (<= + ) (>= + ) (ZERO? ) (POSITIVE? ) (NEGATIVE? ) (ODD? ) (EVEN? ) (MAX + ) (MIN + ) (+ + ) (* + ) (- + ) (/ + ) (ABS ) (QUOTIENT ) (REMAINDER ) (MODULO ) (GCD * ) (LCM * ) (NUMERATOR ) (DENOMINATOR ) (FLOOR ) (CEILING ) (TRUNCATE ) (ROUND ) (RATIONALIZE ) (EXP ) (LOG ) (SIN ) (COS ) (TAN ) (ASIN ) (ACOS ) (ATAN []) (SQRT ) (EXPT ) (MAKE-RECTANGULAR ) (MAKE-POLAR ) (REAL-PART ) (IMAG-PART ) (MAGNITUDE ) (ANGLE ) (EXACT->INEXACT ) (INEXACT->EXACT ) (NUMBER->STRING ) (STRING->NUMBER ) (CHAR? ) (CHAR=? ) (CHAR-CI=? ) (CHAR ) (CHAR-CI ) (CHAR>? ) (CHAR-CI>? ) (CHAR<=? ) (CHAR-CI<=? ) (CHAR>=? ) (CHAR-CI>=? ) (CHAR-ALPHABETIC? ) (CHAR-NUMERIC? ) (CHAR-WHITESPACE? ) (CHAR-UPPER-CASE? ) (CHAR-LOWER-CASE? ) (CHAR->INTEGER ) (INTEGER->CHAR ) (CHAR-UPCASE ) (CHAR-DOWNCASE ) (STRING? ) (MAKE-STRING [] ) (STRING + ) (STRING-LENGTH ) (STRING-REF ) (STRING-SET! ) (STRING=? ) (STRING-CI=? ) (STRING ) (STRING-CI ) (STRING>? ) (STRING-CI>? ) (STRING<=? ) (STRING-CI<=? ) (STRING>=? ) (STRING-CI>=? ) (SUBSTRING ) (STRING-APPEND + ) (VECTOR? ) (MAKE-VECTOR [] ) (VECTOR * ) (VECTOR-LENGTH ) (VECTOR-REF ) (VECTOR-SET! ) (PROCEDURE? ) (APPLY * ) (MAP + ) (FOR-EACH + ) (CALL-WITH-CURRENT-CONTINUATION ) (CALL-WITH-INPUT-FILE ) (CALL-WITH-OUTPUT-FILE ) (INPUT-PORT? ) (OUTPUT-PORT? ) (CURRENT-INPUT-PORT) (CURRENT-OUTPUT-PORT) (OPEN-INPUT-FILE ) (OPEN-OUTPUT-FILE ) (CLOSE-INPUT-PORT ) (CLOSE-OUTPUT-PORT ) (EOF-OBJECT? ) (READ [] ) (READ-CHAR [] ) (PEEK-CHAR [] ) (WRITE [] ) (DISPLAY [] ) (NEWLINE [] ) (WRITE-CHAR [] ) ; R4RS Scheme (LIST-TAIL ) (STRING->LIST ) (LIST->STRING ) (STRING-COPY ) (STRING-FILL! ) (VECTOR->LIST ) (LIST->VECTOR ) (VECTOR-FILL! ) (DELAY ) (FORCE ) (WITH-INPUT-FROM-FILE ) (WITH-OUTPUT-TO-FILE ) (CHAR-READY? [] ) (LOAD ) (TRANSCRIPT-ON ) (TRANSCRIPT-OFF) (DEFINE-SYNTAX ) -- High-Level macros (only) (LET-SYNTAX ( * ) + ) (LETREC-SYNTAX ( * ) + ) === STANDARDS REFERENCES === IEEE Standard 1178-1990. "IEEE Standard for the Scheme Programming Language", IEEE, New York, 1991, ISBN 1-55937-125-0 [1-800-678-IEEE: order # SH14209]. -- now also an ANSI standard. W. Clinger and J. Rees, eds., "Revised^4 Report on the Algorithmic Language Scheme", ACM LISP Pointers IV, 3 (July-September 1991). ;; --- E O F ---