Resources

You should aim to get working Dafny and Haskell installations as soon as possible. That will be the focus of Assignment 0.

Dafny Resources

Dafny is a “verification-aware” object-oriented programming language that we will be using in this class. This page contains installation information for both the Dafny tools and interactive-development-environment (IDE) support, links to resources you may find useful, and explanations for how to run Dafny once it is installed.

Installation

(VS Code extension (IDE) | Official Installation Instructions)

Other Resources

Running Dafny

Haskell Resources

Style Guide

You should take a look and follow the style guide.

Install Stack

Stack is a build tool for Haskell that helps achieve reproducible builds, by managing different versions of GHC (the de-facto standard Haskell compiler) and any external packages that are needed to build your code.

To install Stack, you can find the full instructions here. In short:

Install the IDE of your choice.

You’re free to use whatever IDE you prefer.

That said, I personally use emacs with Haskell mode. Another popular choice is VSCode.

You should now be able to play around! If you run:

stack new <project-name>

you can play around by editing files in the app and src folders.

Library Reference

Further Reading