Smatchcube's website 🌍


Exercise 2.74

a.

The individual divisions files must be tagged the same way and use the same order for the arguments. # b.

In order to works, the records must also be tagged. # c. I chose that if a lookup ended with no results, the returned value is #f (false), as anything else is considered true we can easily implement an iterative procedure to search a record in every divisions’s files.

d.

We must add the new procedures to the table with the correct type.\ Even if tagged data is really useful, we should always have some sort of application programming interface (API) when everything is decentralized. Without any API big systems becomes really hard to change.