Homework 4

This homework is based on notions of chapters 3 of the textbook.

Problem 1

Earlier assignments about OO-programming and logic programming asked you to consider expressions, called of "interest", consisting of four occurrences of the number 10 combined by arithmetic operators, e.g., (10+10)/(10+10).

The assignment's problem was to determine which digits are the values of one such expression, with the convention that any divisor in an expression must be a factor of its dividend, e.g., the value of the above expression is 1.

You are asked to solve the same problem using the Haskell language. Refer to the earlier assignments for the submission items.

Problem 2

Say which elements of the design of your program for this assignment differ significantly from those of your earlier assignment.