This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use (http://learnyouahaskell.com/chapters) to learn how to do these problems! | |
Remember, if you add a function to your .hs file, then you need to load it into your ghci EVERYTIME you make a change. | |
Do this with `:l <filename>.hs` in your shell. | |
Question 1: | |
In the shell, add 3 and 5 together without using functions. | |
HINT: Use the addition operator `+`. | |
Question 2: |