Deal of the Day

Home » Main » Manning Forums » 2009 » Clojure in Action

Thread: description of map --- lists?

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0 - Pages: 1
rpgoldman

Posts: 26
From: US
Registered: 11/11/10
description of map --- lists?
Posted: Nov 13, 2010 5:20 PM
  Click to reply to this thread Reply

On p. 54 I read:

map accepts a function that can take any number of arguments, along with the same number of lists. It collects the result of applying the function to corresponding elements from each list.

That's true of the CL map, but isn't Clojure's map able to accept any type of sequence?

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff
Manning Developmental Editor