Created
April 7, 2022 23:28
-
-
Save Sigmanificient/796f31c6562765a67fcfb28f52527c94 to your computer and use it in GitHub Desktop.
FizzBuzz in Samarium
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
=> * { | |
i: /; | |
.. { | |
string: ""; | |
? i --- // :: \ { | |
string+: "fizz"; | |
} | |
? i --- /\/ :: \ { | |
string+: "buzz"; | |
} | |
string || i!; | |
i+: /; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment