Functional Problem Solving (CSC 151 2015F) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric] [Remote Access]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Curtsinger (2015F)] [Davis (2013F)] [Rebelsky (2015S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
Held: Wednesday, 23 September 2015
Back to Outline 15 - Drawings as Values. On to Outline 17 - 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