CS 291 University of Puget Sound Spring, 2020
 
Programming Language Paradigms:
Explorations with Functional Problem Solving (supported by Scheme/Haskell)
and Declarative Prblem Solving (supported by Prolog)
 

Haskell Installation

Work with Haskell for this course will utilize the Glasgow Haskell Compiler: https://www.haskell.org/platform/

If you are using Linux or Mac OS X (or maybe Windows?):

  1. After clicking on https://www.haskell.org/platform/ link, click on the "Downloads" menu link at the top of the page.

If you are using Windows

  1. Consider using a VirtualBox and umbutu environment, running under windows.

    Directions may be found at recommendations by Paul Monaghan

Once Haskell is Installed

We will be using Haskell in an interactive environment. For this environment, once Haskell is installed, the you will need to create a new project, as follows:

General directions Example
  • create a new directory,
  • download relevant parts of the compiler,
  • build a minimal project
  • start running
for a new projectName, type
   stack new projectName
   cd project-name
   stack setup
   stack build
   stack ghci

(note: no dashes allowed in programName)

created December 2019-January 2020
revised December 27, 2019
revised February 7, 16, 2020
Valid HTML 4.01! Valid CSS!
For more information, please contact Henry M. Walker at walker@cs.grinnell.edu.