Skip to content
2019 winter Haskell school in Sydney Australia
Haskell Makefile
Branch: master
Clone or download
sinogermany and stevemao Daniel deng resolve wall issues (#34)
* Daniel Deng - Week 01 - Hanoi 3 Pegs

* Daniel Deng - Week 01 - Hanoi 3 Pegs - Rev01

* Daniel Deng - Week 01 - Hanoi 3 Pegs - Rev02

* Daniel Deng - Week 01 - Hanoi 3 Pegs - Rev03

* Daniel Deng - resolve -Wall issues
Latest commit ef80d80 Aug 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cis194 Daniel deng resolve wall issues (#34) Aug 22, 2019
.gitignore Initial commit Aug 5, 2019
LICENSE Initial commit Aug 5, 2019
README.md Update README.md Aug 19, 2019
homework.jpg Update readme (#28) Aug 17, 2019
shareknowledge.jpeg Update readme (#28) Aug 17, 2019

README.md

2019 winter Haskell school in Sydney Australia

Class timetables and planning

We are based on CIS194 which is a 12 week course and we will extend it with advanced contents.

Each class has average length of 2 hours. Each week, we will pick a time and place, and announce it.

Materials that we use for this class

Currently we are using Yorgey's cis194 course.

This course is widely recommended by Haskell learners.

Homework and after class discussions

Image

After each week's class, participants need to complete assignments from the cis194 course and submit to this repo as a Pull Request.

You shouldn’t skip the assignments, and remember:

If you don't do your homework and expect to be a Haskell programmer in the end of this course just by coming to/reading the lecture, you are kidding yourself. —Shine Li

Why is Zehua so good even though he jigs classes all the time? Because he does his homework. —Shine Li

You can also raise any questions or issues when you are learning Haskell and raise it to here.

You can submit your assignment to this path cis194/week1/Yourname, replace Yourname with your own.

If you don't do your homework and expect to be a Haskell programmer in the end of this course just by coming to/reading the lecture, you are KIDDING yourself.

Setup local development environment

  • install stack
  • stack new <PACKAGE_NAME> <TEMPLATE_NAME>
  • Then you have the following choices:
    • Use GHCi. This is invoked via stack ghci under your project root.
      • Every time you change your code, you can use :r to reload your ghci session with latest code. It will show error if your code does not compile.
    • Use GHCid
      • install GHCid by running stack install ghcid under your project
      • run ghcid --command "stack ghci --ghci-options=-fobject-code"
      • The above command will lunach a stack ghci session with type checking and automatically re-check your code when it changes. It will print out errors when you code does not compile.
    • IDE extension
      • VSCode
        • haskell-ghcid It runs GHCid and put the feedback in the output window as well as inlining them
        • Haskell Syntax Highlighting to highlight Haskell syntax
        • There are other extensions like Haskell Language Server, Haskero which required much more complex set up.
      • vim/neovim
        • TBD
      • Emacs
        • TBD
      • atom
        • atom-haskell This is a plugin that installs a list of other plugins to support Haskell development

Knowledge points

Image

TIL

  • Open an issue on the issue tracker and label it Today I learnt to share what you have learnt today!

YouTube channel Instant FP

We will upload Functional programming videos inregually into this Channel. You can subscribe to it.

You can’t perform that action at this time.