Rename the module in the example for tabulate*/untyped.

This commit is contained in:
Sergiu Ivanov 2022-03-06 23:41:24 +01:00
parent e7616684f5
commit 1f281d3851

View File

@ -139,11 +139,11 @@ and are not actually enforced. Some contracts on the functions
tabulate a function of wrong arity will still raise an error. tabulate a function of wrong arity will still raise an error.
@examples[#:eval functions-evaluator @examples[#:eval functions-evaluator
(module untyped-test racket/base (module tabulate*/untyped-test racket/base
(require "functions.rkt") (require "functions.rkt")
(tabulate*/untyped (list (λ (x y z) (and x y z))) (tabulate*/untyped (list (λ (x y z) (and x y z)))
'((#f #t) (#f #t)))) '((#f #t) (#f #t))))
(eval:error (require 'untyped-test)) (eval:error (require 'tabulate*/untyped-test))
]} ]}
@section{Constructing functions} @section{Constructing functions}