... | @@ -2,6 +2,7 @@ Links to some example macros. If you've written a cool macro and want to share p |
... | @@ -2,6 +2,7 @@ Links to some example macros. If you've written a cool macro and want to share p |
|
|
|
|
|
Note that these gists aren't necessarily kept up to date and might not work with the current version of sweet.js.
|
|
Note that these gists aren't necessarily kept up to date and might not work with the current version of sweet.js.
|
|
|
|
|
|
|
|
* [C-style assert() function](https://gist.github.com/TooTallNate/baa25c0a58b7bd181bab)
|
|
* [haskell style do-notation](https://gist.github.com/3831514) (update for v0.3.x [here](https://gist.github.com/Nami-Doc/8230304))
|
|
* [haskell style do-notation](https://gist.github.com/3831514) (update for v0.3.x [here](https://gist.github.com/Nami-Doc/8230304))
|
|
* [fragment of scheme](https://gist.github.com/3854258) (update for v0.3.x [here](https://gist.github.com/Nami-Doc/8230315))
|
|
* [fragment of scheme](https://gist.github.com/3854258) (update for v0.3.x [here](https://gist.github.com/Nami-Doc/8230315))
|
|
* [var destructuring](https://gist.github.com/aaditmshah/7065183)
|
|
* [var destructuring](https://gist.github.com/aaditmshah/7065183)
|
... | | ... | |