- 12:00PM: Sandwiches
- Some useful tools
- Solicit presentation for Feb 5 (type classes)
- 12:30PM: Pain points from Week 1
- 12:50PM: Week 1 Homework Demo (Jeegar)
- The
:type
command - The
:browse
command - The
:load
command - Importing a module from a loaded package
- GHCi w/out importing modules
- LTS versions (stack.yml)
- Anatomy of a .cabal file
- Finding documentation for your LTS version
import Debug.Trace
example :: Int -> Int -> Int
example x y = trace ("x and y: " ++ (show x) ++ " " ++ (show y)) (x + y)
sum :: [Int] -> Int
sum xs = foldr _f 10 xs
sum' :: _ -> Int
sum' xs = foldr (+) 10 xs
I'm looking for someone who'd like to present a summary of the Week 5 lecture on February 4th.
- Problems running the tests?
- Problems using the REPL?
- ???