Prepare the Scribble infrastructure.

This commit is contained in:
Sergiu Ivanov 2022-03-05 21:37:24 +01:00
parent cd94326ea3
commit ccb70a5921

View file

@ -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}