From fd813e111e9067174e57f19f96345e0d236ccd98 Mon Sep 17 00:00:00 2001 From: Matthias Felleisen Date: Fri, 14 Aug 2009 23:27:54 +0000 Subject: [PATCH] added make-pair to beginner svn: r15742 --- collects/lang/private/beginner-funs.ss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/collects/lang/private/beginner-funs.ss b/collects/lang/private/beginner-funs.ss index b8d97c8017..3eb0eece87 100644 --- a/collects/lang/private/beginner-funs.ss +++ b/collects/lang/private/beginner-funs.ss @@ -1,5 +1,5 @@ -(module beginner-funs mzscheme +(module beginner-funs scheme (require mzlib/etc mzlib/list mzlib/math syntax/docprovide) ;; Implements the procedures: @@ -277,6 +277,8 @@ "to extract the indexed item from the list") (list (any ... -> (listof any)) "to construct a list of its arguments") + + (make-list (natural-number any -> (listof any)) "(make-list k x) constructs a list of k copies of x") ((beginner-list* list*) (any ... (listof any) -> (listof any)) "to construct a list by adding multiple items to a list")