Generated: Friday, January 20, 2006, 16:47:14 A SchemeDoc Manual

SchemeDoc Demo Program

Kurt Nørmark Department of Computer Science, Aalborg University, Denmark.

Source file: /user/normark/.public_html/schemedoc/examples/exx.scm

This is some introduction to a Scheme program.

Table of Contents:
1. Section two. 2. Section one.

Alphabetic index:
add (add x y) The function f adds to numbers
fac (fac n) Calculate the factorial of n
sample-function (sample-function) A function that returns a number of factorial numbers.
subtract (subtract x y) The function f subtracts to numbers

sample-function
Form (sample-function)
Description A function that returns a number of factorial numbers.

fac
Form (fac n)
Description Calculate the factorial of n


1 Section two.
This is the second section, only with a couple of functions. The comment of these functions are not documented with a lot of SchemeDoc tags.

subtract
Form (subtract x y)
Description The function f subtracts to numbers
Precondition Both a and b are numbers
Parameters x The first number
y The second number
Returns Returns x - y
Postcondition The result is the difference between x and y
Example (subtract 7 5)
See also Context SchemeDoc
the other function add

add
Form (add x y)
Description The function f adds to numbers
Precondition Both a and b are numbers
Parameters x The first number
y The second number
Returns Return the sum of x and y
Postcondition The result is the sum of x and y
Example (add 1 2)
See also Context SchemeDoc
next section second
the other function subtract
Note Miscelaneous information


2 Section one.
This is section one. The two functions in this section are documented by quite a few SchemeDoc tags.

Generated: Friday, January 20, 2006, 16:47:14
Generated by LAML SchemeDoc using LAML Version 30.2 (December 10, 2005, schemedoc)
This documentation has been extracted automatically from the Scheme source file.