append takes 1 or more arguments now in ISL+

svn: r15779
This commit is contained in:
Matthias Felleisen 2009-08-18 20:01:31 +00:00
parent e000b13d22
commit 3c6f5e5c98

View File

@ -8,7 +8,7 @@
(provide-and-document (provide-and-document
procedures procedures
(all-from-except beginner: lang/private/beginner-funs procedures (all-from-except beginner: lang/private/beginner-funs procedures
+ * - /) + * - / append)
("Numbers (relaxed conditions)" ("Numbers (relaxed conditions)"
@ -17,6 +17,11 @@
(- (number ... -> number) "to subtract from the first all remaining numbers") (- (number ... -> number) "to subtract from the first all remaining numbers")
(/ (number ... -> number) "to divide the first by all remaining numbers") (/ (number ... -> number) "to divide the first by all remaining numbers")
) )
("Lists"
(append ((listof any) ... -> (listof any))
"to create a single list from several, by juxtaposition of the items"))
("Higher-Order Functions" ("Higher-Order Functions"
(map ((X ... -> Z) (listof X) ... -> (listof Z)) (map ((X ... -> Z) (listof X) ... -> (listof Z))
"to construct a new list by applying a function to each item on one or more existing lists") "to construct a new list by applying a function to each item on one or more existing lists")