doc: Add module-level comments for functions.

This commit is contained in:
Sergiu Ivanov 2020-11-29 21:45:33 +01:00
parent d014209a98
commit 96f8782d7b

View file

@ -1,12 +1,19 @@
#lang scribble/manual #lang scribble/manual
@(require (for-label racket graph)) @(require (for-label racket "../functions.rkt"))
@title[#:tag "functions"]{dds/functions: Formal Functions} @title[#:tag "functions"]{dds/functions: Formal Functions}
@racketblock[ @defmodule[dds/functions]
(define (nobody-understands-me what)
(list "When I think of all the" This modules provides some definitions for working with functions: tabulating,
what (re)constructing from tables, generating random functions, etc.
"I've tried so hard to explain!")) Some definitions of particular kinds of functions are also provided (threshold
(nobody-understands-me "glorble snop") Boolean functions, etc.).
]
@section{Tabulating functions}
@section{Constructing functions}
@section{Random functions}
@section{Threshold Boolean functions}