a sample document

generating a document from code

1    Introduction

This is an introduction to the exciting library

1.1    Defining a function

We define function add-5 below

(defn add-5 [x] (+ x 5))

1.2    Testing a function

add-5 outputs the following results seen in e.1.2 and e.1.3:

e.1.1
(+ 1 0) => 1 (+ 1 3) => 4
(+ 1 1) => 2 (+ 1 3) => 2
e.1.2  -  1 add 5 equals 6
(add-5 1) => 6
e.1.3  -  10 add 5 equals 15
(add-5 10) => 15

2    Walkthrough

Here is a walkthrough for the library

3    API Reference

The API reference here: