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