-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
31 lines (27 loc) · 929 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Haskell Substitution Stepper
This project is part of Middlebury College's Functional Programming class.
It is a continuation of Ben Milwood's StepEval, and attempts to draw from his
experiences to create a more elegant and less buggy Haskell Substitution
Stepper.
Required packages:
- template-haskell
- haskell-src-meta
To run this program:
1. Type the following in the command line.
runhaskell stepEvaluator.hs
2. Follow the prompts of the program.
Features:
1. Display steps of the following higher-order function calls (for Integers):
- map
- filter
- fold
2. Valid operations for Integers:
- addition
- subtraction
- multiplication
- division*
- boolean operations (==, /=)
- (in)equality operations (<, <=, >, >=)
3. Repeatedly prompt the user to input source code.
4. Validate input source code before attempting to parse and print out the
type of error if there was any.