trevor elliott
Serenade in Haskell
One of the things that I think is great about Haskell is the way that you can use the language to design new syntax. After reading a quick introduction to Serenade.js, one of the features that caught my eye was their templating system. It has a fairly elegant interface that provides a concise language for generating HTML, though it seems like a heavyweight solution, as it requires implementing a parser.
Vim Mapping Context
If you’re like me, you’ve got a lot of filetype-specific macros defined in your
vim config. I tend to put these in $VIM/after/syntax
so that I can keep it
all self-contained, but up until recently, macros had been bleeding into
different filetype contexts. The problem was that I had been installing all
macros into the global scope, instead of the buffer scope, like this:
Vim Register Trick
Well, it’s new to me.