omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / exercises / two-fer / two-fer.om
| 1 | note Exercism-style exercise "two-fer": https://exercism.org/tracks/python/exercises/two-fer |
| 2 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | note twofer writes "One for X, one for me." into o, X being name, or "you" when name is empty, |
| 4 | note and returns the number of bytes written. |
| 5 | note Check it with: sh exercise.sh exercises/two-fer |
| 6 | om2 |
| 7 | fn twofer name view uchar * o edit uchar * to ulong |
| 8 | note replace this line with your solution |
| 9 | trap 13 |
| 10 | end |