News for hackers. Stuff that matters.
Re:Pure Python Vim clone by fadsasda432 on Sunday April 26, 2015 @01:11PM (#9442437)
Hi, I once tried that, but I ran into problems with lazyness. In particular my data structure was rather simple (famous gap data structure), but editing "large" files (>1000LOC) became rather unpleasant (too big input-feedback latency).

However I managed to build a _very_ basic proof-of-concept editor (no dependencies) in just a few hundreds lines of code which I could explain, but until now I was too shy to share it as it did not involve magic abstract Haskell-foo ... ;)

Re:Pure Python Vim clone by codygman on Sunday April 26, 2015 @03:46PM (#9443018)
> I was too shy to share it as it did not involve magic abstract Haskell-foo

Please don't be, simple understandable Haskell code is very nice :)

Plus if there is a better way of doing it you get to find that out too.

Re:Pure Python Vim clone by implicit on Sunday April 26, 2015 @02:13PM (#9442684)
That's a shame!

"Gets the job done in just a few hundred lines of easily-explained code" is a terrific standard to meet.

"Magic abstract Haskell-fu" cannot improve such a program very much.