Toggle navigation
CS168
Schedule
Assignments
Assignment 1 solutions
Assignment 2 solutions
Assignment 3 solutions
Assignment 4 specification
Sample trees for Assignment 4
Assignment 4 solutions
Assignment 5 specification
Sample trees for Assignment 5
Assignment 5 solutions
⛔ Assignment 6 skipped
Assignment 7 specification
Assignment 7 solutions
Assignment 8 specification
Assignment 8 solutions
Diceware solution
Assignment 10 specification
Assignment 10 solution
Assignment 11 specification
Assignment 12 specification
Notes
Notes from 5 Sep — FP concepts, ghci, function syntax
Notes week of 10 Sep — Tuples, Booleans, partial application, guards, recursion
Notes week of 17 Sep — List constructors, operators, and patterns
Notes week of 24 Sep — Types and type classes
Notes week of 1 Oct — Recursive data types and Maybe
Notes week of 8 Oct — Monadic compose, Functor, Bifunctor, Monoid
Notes week of 15 Oct — Ordering, laziness, abstract syntax tree
Notes week of 22 Oct — Applicative functors
Notes week of 29 Oct — PRNG and threading state
Notes week of 5 Nov — Generalizing generators
Notes week of 12 Nov — IO Monad
Notes week of 19 Nov — Parser monad
Notes week of 3 Dec — Web app
Notes week of 10 Dec — More web app
Exams
Practice midterm
Practice midterm answers
↗ Mimir
Notes week of 3 Dec
→ See the
assignment 11 spec
for notes on the web app.
main ::
IO
()
main
=
return ()
Source