Live data from Hacker News

Yi – Text editor written in Haskell

yi-editor.github.io

11–20 of 23 posts

Re: Yi – Text editor written in Haskell

#11
Incremental parsing really isn't that hard: just cache the trees and damage/repair appropriately. I'm not sure if Haskell will be much of an advantage there; I found my own frameworks to be incredibly stateful...to the point that I designed Glitch to replace FRP to solve this specific problem.

Incremental parsing is also the first step toward incremental type checking :)

The post is a bit wrong, there have been incremental parsing frameworks in the past (see Tim Wagner and Susan Graham's work on Harmonia at UCB). But I've never been able to use them very well, and the problem is simple enough that cache/damage/repair is good enough (actually for type checking also).

Re: Yi – Text editor written in Haskell

#12
post #5

As someone whose ISP enforces a draconian bandwidth limit, I would really like to see an estimate of how much all the dependencies are going to end up costing me. The last time I tried to build a Haskell program (I think it was on 64-bit Arch linux), I ended up quitting after I broke 800 MB in downloads with no end in sight.

Didn't you download gigabytes worth of os in order to run this in the first place?

Re: Yi – Text editor written in Haskell

#13
post #5

As someone whose ISP enforces a draconian bandwidth limit, I would really like to see an estimate of how much all the dependencies are going to end up costing me. The last time I tried to build a Haskell program (I think it was on 64-bit Arch linux), I ended up quitting after I broke 800 MB in downloads with no end in sight.

Didn't you download gigabytes worth of os in order to run this in the first place?

If it's a minimal Arch Linux install, it could well by under a gigabyte.

Re: Yi – Text editor written in Haskell

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

Re: Yi – Text editor written in Haskell

#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?

Re: Yi – Text editor written in Haskell

#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

Re: Yi – Text editor written in Haskell

#18
post #9
post #5

As someone whose ISP enforces a draconian bandwidth limit, I would really like to see an estimate of how much all the dependencies are going to end up costing me. The last time I tried to build a Haskell program (I think it was on 64-bit Arch linux), I ended up quitting after I broke 800 MB in downloads with no end in sight.

That's probably a one-time install of the haskell-platform package. After you install that, most dependencies are small.

Small, yes, but they just keep coming. As an example, Pandoc has a tree of something like 70 dependencies on Arch? (I can at least tell you that it has 37 direct dependencies)

It does add up.

Re: Yi – Text editor written in Haskell

#19
post #7
post #5

As someone whose ISP enforces a draconian bandwidth limit, I would really like to see an estimate of how much all the dependencies are going to end up costing me. The last time I tried to build a Haskell program (I think it was on 64-bit Arch linux), I ended up quitting after I broke 800 MB in downloads with no end in sight.

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.

Re: Yi – Text editor written in Haskell

#20
post #9

Earlier quoted context omitted.

That's probably a one-time install of the haskell-platform package. After you install that, most dependencies are small.

Small, yes, but they just keep coming. As an example, Pandoc has a tree of something like 70 dependencies on Arch? (I can at least tell you that it has 37 direct dependencies) It does add up.

That's not wrong, but (at least source code size-wise), Haskell libraries are often very small. The compiled version, less so.
Post reply on HN