This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Replaces division operations in closure function with a MATISSE primitive that performs integer division | |
| sequencedef closure_idivide | |
| select function{"closure"} end | |
| apply | |
| call replace_operator("/", "N", "2", "matisse_idivide"); | |
| // Implicit update here | |
| call replace_operator("/", "ii", "2", "matisse_idivide"); | |
| end | |
| end |