View Source ExDoctor.Example (ExDoctor v0.2.8)

This module contains sample functions that you can trace with ExDoctor.

Summary

Functions

Calculates the n-th term of the Fibonacci sequence.

Calculates factorial of n with a delay of 1 ms after each step

Functions

Calculates the n-th term of the Fibonacci sequence.

This recursive implementation is suboptimal on purpose. The goal is to have a function with extensive redundant branching.

Calculates factorial of n with a delay of 1 ms after each step