Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-27 | macro: Add documentation | Teddy Wing | |
2021-02-01 | main: Ensure WebSocket connection is always closed | Teddy Wing | |
Create a new `with-websocket-connection` decorator that starts and closes a WebSocket connection to the given `client` around the body forms. Thanks to Practical Common Lisp's "The Special Operators" chapter (http://www.gigamonkeys.com/book/the-special-operators.html#unwinding-the-stack) for introducing me to `unwind-protect`. Couldn't figure out how to get the new macro to auto-indent properly with Vlime, so ended up manually indenting it. | |||
2021-01-31 | Convert `filter` from a function to a macro | Teddy Wing | |
Doesn't make a big difference, just for fun. I like the idea of a compile-time version of this since it's essentially just renaming `remove-if-not`. Move it to a new file so we can include it before it's used in `main.lisp`. |