CS 291 Assignment #1

Due Friday, January 26th by 11:00pm
(Not accepted after 1/29)

Introduction:

Homework assignments this semester will be posted online in Gradescope. You should each have received an email from Gradescope notifying you that you'd been added to CSCI 291. When you log in, assignments will be shown on your "dashboard". You can work on them as many times as you want before the deadline.

The goal of this first assignment is to ensure you can all edit and evaluate Haskell code, and to give you some practice with basic function definitions. In the problem descriptions I show interactions with my solutions in GHCi, the interactive version of the Glasgow Haskell Compiler, but you're welcome to use Repl.it to implement your solutions. Once you've got a solution working in GHC or Repl.it, you can copy your code to the appropriate box on the assignment page.


Brad Richards, 2024