[Instructions] [Search] [Current] [Syllabus] [Links] [Handouts] [Outlines] [Assignments] [Labs]
Back to Scheme Semantics (3). On to Laboratory Session: FP.
Held Monday, March 8
Summary
Contents
Handouts
Notes
n : S
selects the nth element of sequence S
1:x == x=<x_{1},...,x_{n}>
-> x_{1}; bottom
s:x == x=<x_{1},...,x_{n}> &
n >= s -> x_{s}; bottom
tl:x
takes the tail of a list
tl:x == x=<x_{1}> -> nil ;
x=<x_{1},...,x_{n}> &
n >= 2 -> <x_{2},...,x_{n}>
; bottom
History
Back to Scheme Semantics (3). On to Laboratory Session: FP.
[Instructions] [Search] [Current] [Syllabus] [Links] [Handouts] [Outlines] [Assignments] [Labs]
Disclaimer Often, these pages were created ``on the fly'' with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.
This page may be found at http://www.math.grin.edu/~rebelsky/Courses/CS302/99S/Outlines/outline.19.html
Source text last modified Mon Mar 8 14:22:23 1999.
This page generated on Mon Mar 8 15:02:08 1999 by SiteWeaver. Validate this page's HTML.
Contact our webmaster at rebelsky@math.grin.edu