Prepare the Scribble infrastructure.
This commit is contained in:
parent
cd94326ea3
commit
ccb70a5921
1 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
#lang scribble/manual
|
#lang scribble/manual
|
||||||
@(require (for-label racket "../functions.rkt" "../utils.rkt"))
|
@(require scribble/example racket/sandbox
|
||||||
|
(for-label typed/racket/base "../functions.rkt"))
|
||||||
|
|
||||||
@title[#:tag "functions"]{dds/functions: Formal Functions}
|
@title[#:tag "functions"]{dds/functions: Formal Functions}
|
||||||
|
|
||||||
|
@ -10,6 +11,12 @@ This modules provides some definitions for working with functions: tabulating,
|
||||||
Some definitions of particular kinds of functions are also provided (threshold
|
Some definitions of particular kinds of functions are also provided (threshold
|
||||||
Boolean functions, etc.).
|
Boolean functions, etc.).
|
||||||
|
|
||||||
|
@(define functions-evaluator
|
||||||
|
(parameterize ([sandbox-output 'string]
|
||||||
|
[sandbox-error-output 'string]
|
||||||
|
[sandbox-memory-limit 50])
|
||||||
|
(make-evaluator 'typed/racket #:requires '((submod "functions.rkt" typed)))))
|
||||||
|
|
||||||
@section{Tabulating functions}
|
@section{Tabulating functions}
|
||||||
|
|
||||||
@section{Constructing functions}
|
@section{Constructing functions}
|
||||||
|
|
Loading…
Reference in a new issue