1 / 2

UC Berkeley Joins edx

CS10 : The Beauty and Joy of Computing Lecture # 20 Higher Order Functions II 2012- 07- 2 4. Yes Project Proposal!. Yes Blog Post!. UC Berkeley EECS Summer Instructor Ben Chun. No Reading Quiz!.

bevan
Download Presentation

UC Berkeley Joins edx

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS10 : The Beauty and Joy of ComputingLecture #20Higher Order Functions II 2012-07-24 Yes Project Proposal! Yes Blog Post! UC Berkeley EECSSummer InstructorBen Chun No Reading Quiz! You can take CS188 (AI) or CS169 (Software as a Service) on BerkeleyX in the Fall, along with courses from MIT and Harvard. This is the not-for-profit competition to Udacity, Coursera, etc. and it is well-funded. Over 150k people signed up for the first MITx course last spring! UC Berkeley Joins edx http://www.edx.org/

  2. Today • Review useful HOFs • map Reporter over List • Report a new list, every element E of Listbecoming Reporter(E) • keep items such that Predicate from List • Report a new list, keeping only elements Eof List if Predicate(E) • combine with Reporter over List • Combine all the elements of List with Reporter(E) • This is also known as “reduce” • Acronym example • keep  map  combine • The script, run and launch • For each • Compose example

More Related