Created
October 7, 2021 23:31
-
-
Save jaawerth/9407ed48c6f1e11941d0e431a8f1c140 to your computer and use it in GitHub Desktop.
This file contains 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
{:wat #(match $ | |
1 :ok | |
2 :ok | |
3 :ok | |
4 :still-ok | |
5 `(error "That's the combination to my luggage!") | |
6 :ok-again | |
_ :ok-ill-stop)} |
This file contains 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
(import-macros {: wat} :badmacro) | |
(fn oops [] (wat 5)) | |
(oops) |
This file contains 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
runtime error: That's the combination to my luggage! | |
stack traceback: | |
[C]: in function 'error' | |
./badmacro.fnl:6: in function ? | |
[C]: in function 'xpcall' | |
/usr/bin/fennel:4760: in function ? | |
[C]: in ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment