Writing ID Number Verification Procedures

All ID number verification schemes are the same except for the choice of f and the divisor m.

Exercise 5.11: Write a procedure make-verifier that takes f and m as arguments and returns a procedure that verifies a number accordingly.

Example:

     (define check-isbn (make-verifier * 11))

     (check-isbn 0262010771) ⇒ #t
Here is the form:
     (define make-verifier
       (lambda (f m)
          ;; Return a procedure that takes an
          ;; integer and tests if it is valid
       ))
If written correctly, make-verifier can create other verifiers depending on f and m.