bak / cis-194-summer-2022

A (fork of a) modified version of UPenn's CIS-194, with tests!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CIS194: Spring 2022

A slightly modified version of UPenn's CIS 194 course, with tests!

Schedule

Week Lecture Assignment Due
1 Introduction to Haskell cc numbers
2 Algebraic Data Types log parsing
3 Recursion patterns, polymorphism, and the Prelude code golf
4 Parametric Polymorphism BST, recursion
5 More polymorphism and type classes calculator
6 Lazy evaluation streams
7 Monoids monoids
8 Functors Applicative functors (part 1) parsers, part one
9 Applicative functors (part 2) parsers, part two
10 Property-based Testing w/QuickCheck testing
11 Monads risk
12 IO Monad IO

Getting Started

Initialize Stack

We use Stack to build our project. After cloning the repository, run stack build from its root.

Running the Tests

Assignments are tested with Hspec and QuickCheck. Run the full test suite upon cloning the project using the stack test command. Before running the tests, this command will install all test dependencies. Then, you'll be able to run a single test:

15:10 $ stack build && stack test --test-arguments '--match=Homework.Week01'

Contributors

This test suite and lesson plan has been built out over the years with help from (but not limited to): acruikshank, aztecrex, clkunzang, coopernurse, finalfantasia, jxv, laser, lexi-lambda, markw, michaelavila, and will-wow.

About

A (fork of a) modified version of UPenn's CIS-194, with tests!


Languages

Language:Haskell 100.0%