Mercury procedures can be implemented using fragments of foreign language code using ‘pragma foreign_proc’.
• pragma foreign_proc: | Defining Mercury procedures using foreign code. | |
• Foreign code attributes: | Describing properties of foreign functions or code. |