CPSC 425 A
Location
Trexler 363
Times
MWF 8:30 - 9:30
Office Hours
M-Th 6 - 7pm
Office
Trexler 365B
Email
chssmith AT roanoke DOT edu
Home
Syllabus
Lectures
Assignments
Links
Emacs Reference
Coding Conventions
Grading Rubric
MCSP Conversation Series
< Back
Lecture 30 - Writing an Interpreter
Esoteric "Today"
vowels
Seriously
Activity
Write a function
pascal :: Int -> [[Int]]
, which takes a parameter N and returns the first N rows of Pascal's Triangle. Each value in Pascal's triangle can be computed by summing the two "adjacent" values in the row above it.