3 ms·
looking at these config files I do feel like we're still missing a style to write nice config files in a language like Haskell. I don't think it's a language i
by rtpg 12y ago
looking at these config files I do feel like we're still missing a style to write nice config files in a language like Haskell. I don't think it's a language issue, but there's still a bit of difficulty in the building blocks given by things like xmonad or yi.
- bsummer4 12y agoHow so? Basically, the idea is that Yi is actually a Haskell library, and your "config file" is really a Haskell program that uses this library to build an editor. This is similar to how many suckless tools are written. If you want to configure them, edit the source: It's designed to be approachable and easy to modify. This style of configuration is extremely nice IMHO. It gives you complete control over everything in one of the cleanest, most expressive languages around. It also means that you don't need to maintain a separate configuration language, and people that use your software are already taking steps towards becoming contributors.