Functional Problem Solving (CSC 151 2015S) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric] - [Calendar]
Current: [Assignment] [EBoard am] [EBoard pm] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards am] [EBoards pm] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2014F)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Book Office Hours] - [Issue Tracker (Course)]
Held: Tuesday, 17 February 2015
Back to Outline 16 - Transforming Images. On to Outline 18 - Programming the GIMP Tools.
Summary
Today we explore Scheme's list data structure and some ways to use lists to make interesting images.
Related Pages
Overview
Administrivia
(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