added make-pair to beginner
svn: r15742
This commit is contained in:
parent
f3b1700c79
commit
fd813e111e
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(module beginner-funs mzscheme
|
(module beginner-funs scheme
|
||||||
(require mzlib/etc mzlib/list mzlib/math syntax/docprovide)
|
(require mzlib/etc mzlib/list mzlib/math syntax/docprovide)
|
||||||
|
|
||||||
;; Implements the procedures:
|
;; Implements the procedures:
|
||||||
|
@ -277,6 +277,8 @@
|
||||||
"to extract the indexed item from the list")
|
"to extract the indexed item from the list")
|
||||||
|
|
||||||
(list (any ... -> (listof any)) "to construct a list of its arguments")
|
(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))
|
((beginner-list* list*) (any ... (listof any) -> (listof any))
|
||||||
"to construct a list by adding multiple items to a list")
|
"to construct a list by adding multiple items to a list")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user