diff --git a/homework/hw04.md b/homework/hw04.md index a8dc42b..1153c1a 100644 --- a/homework/hw04.md +++ b/homework/hw04.md @@ -18,6 +18,8 @@ module names in Haskell have to start with capital letters. As the file containing the module code must be of the same name as the module name, **all your code is required to be in a single file called `Hw4.hs`**. + +::: danger IMPORTANT Your file `Hw4.hs` has to start with the following lines: ```haskell @@ -26,8 +28,9 @@ module Hw4 where import Control.Applicative import Data.Char import Parser -import Hw3 +import Hw3 -- you need this import to pass tests on BRUTE ``` +::: There are four imports. The first two necessary libraries so that the definitions from Lecture 11 work. The third is the module `Parser` whose code is [here](#parser-module). @@ -46,6 +49,7 @@ data Expr = Var Symbol | App Expr Expr | Lambda Symbol Expr deriving Eq ``` +**For passing all BRUTE tests you still need the `import Hw3`!** ## Parser specification