Stoyan Zhekov's THOUghts TRash.
  • < jtoy_> what is the difference between list comprehensions and map?
  • < archaelus> list comprehensions can also filter - [N||N <- lists:seq(1,10), N < 5] == [1,2,3,4].
  • < archaelus> map on the otherhand gives you exactly as many elements in the result list as in the input list
Comments (View)
blog comments powered by Disqus