Live data from Hacker News

Yi – Text editor written in Haskell

yi-editor.github.io

21–23 of 23 posts

Re: Yi – Text editor written in Haskell

#21
post #7

Earlier quoted context omitted.

Haskell can build self-contained binaries that don't require a 700MB compiler. Look for /-bin$/ packages.

That depends upon such a package already being available -- it doesn't appear that Yi has any.

Yeah, Yi uses Xmonad style configuration. That is, it re-compiles itself when you modify the configuration file.

This approach means that Yi has to depend on the entire Haskell toolchain :(

Re: Yi – Text editor written in Haskell

#22
post #14

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.

How 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.

Re: Yi – Text editor written in Haskell

#23
post #17
post #16

I have tried a few times in the last year to find someone who something crazier than Yi: a Haskell program that is text editor, IDE, and integrated Webkit browser, all in Haskell. The dev was a former Emacs enthusiast. It looked really cool, but I forgot to bookmark. It is not Yi, but does anyone know what I am talking about?

Are you thinking of Manatee? http://hackage.haskell.org/package/manatee

YEEESSS! Thank you. I tried searching on and off for a while now. I owe you more than an upvote!
Post reply on HN