Given a code snippet in one source language, rewrite it in another language. This is useful for converting programs in "slow" languages to "faster" ones ("I have this really concise code written in Haskel; Can you make it fast by converting it to C++?")
Example
Rewrite the following program:
<source-lang-1>
into <source-lang-2>
Additional Notes
Reference: @amarmet in the CarperAI Discord server.
🚀 The Task
Given a code snippet in one source language, rewrite it in another language. This is useful for converting programs in "slow" languages to "faster" ones ("I have this really concise code written in Haskel; Can you make it fast by converting it to C++?")
Example
Additional Notes