[TM-53] Make `MAP` and `ITER` from `Michelson.Interpter` polymorphic
Description
MAP
and ITER
instruction types are polymorphic, however, their implementation isn't polymorphic, so it is necessary to have error stubs in interpreter.
In this MR MAP
and ITER
implementation became polymorphic and also error
stubs were removed
Related issue(s)
https://issues.serokell.io/issue/TM-53
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
-
I checked whether I should update the docs and did so if necessary: - README
- Haddock
-
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Roman Melnikov