Fundamentals of CS I (CS151 2001S) : Outlines
[Current]
[Discussions]
[Glance]
[Honesty]
[Instructions]
[Links]
[News]
[Search]
[Syllabus]
Primary
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Quizzes]
[Readings]
[Reference]
Sets
[Blackboard]
[Scheme Report]
[SamR's Schedule]
[Rebelsky/Fall 2000]
[Walker/Fall2000]
[Stone/Spring2000]
Links
Lab: Getting Started with Script-Fu. Back to Introduction to GIMP. On to Complete Scripts.
Held Wednesday, April 4, 2001
Summary
Today we begin our investigations of Script-Fu, the Scheme-like language used for programming the GIMP.
Notes
sum we did in class.
We did that version of sum on the first day we studied
recursion. The key idea was that we used a helper function that took
an extra parameter that kept track of the sum of the first k numbers
in the list. You can see a newer version of the code (that uses
all the clever design tricks we've learned) in
sum.ss
complement
would be useful. For a predicate, p, complement
returns the "opposite" predicate (one that returns false when p
returns true and vice versa). Here's a definition sans comment
(define complement
(lambda (pred?)
(lambda (val) (not (pred? val)))))
Overview
Friday, 12 January 2001
Wednesday, 4 April 2001
Thursday, 5 April 2001
Back to Introduction to GIMP. On to Complete Scripts.
[Current]
[Discussions]
[Glance]
[Honesty]
[Instructions]
[Links]
[News]
[Search]
[Syllabus]
Primary
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Quizzes]
[Readings]
[Reference]
Sets
[Blackboard]
[Scheme Report]
[SamR's Schedule]
[Rebelsky/Fall 2000]
[Walker/Fall2000]
[Stone/Spring2000]
Links
Disclaimer: I usually create these pages on the fly. This means that they are rarely proofread and may contain bad grammar and incorrect details. It also means that I may update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.
This page was generated by Siteweaver on Wed May 5 12:15:05 2004.
This page may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2001S/outline.34.html.
You may validate
this page's HTML.
The source was last modified Thu Apr 5 08:24:41 2001.