Functional Problem Solving (CSC 151 2014F) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Rubric] - [Calendar]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Readings]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2014S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
Held: Wednesday, 24 September 2014
Back to Outline 15 - Transforming Images. On to Outline 17 - Boolean Values and Predicate Procedures.
Summary
Today we explore Scheme's list data structure and some ways to use lists to make interesting images.
Related Pages
Overview
Administrivia
image-variant and image-transform!.compose and o.map and the other subjects we are doing today.(list val1 val2 ... valn)(make-list n value)(iota n)(map func lst). Apply a function to
each element of a list.(map drawing-transform list-of-drawings list-of-values)(append *lst1* *lst2*) - join two lists(reverse *lst*) - just what it sounds like(list-take *lst* *n*) - take the first n elements of a list(list-drop *lst* *n*) - drop the first n elements of a list