[Haskell-beginners] How to write console apps? Can't find any library, tutorial... at all

Benjamin Jones benjaminfjones at gmail.com
Fri May 20 19:17:42 UTC 2016


On Fri, May 20, 2016 at 12:13 PM, Silent Leaf <silent.leaf0 at gmail.com>
wrote:

> thanks a lot! will look into it then get back to you. :) it looks
> promising!
>
> Le vendredi 20 mai 2016, Francesco Ariis <fa-ml at ariis.it> a écrit :
> > On Fri, May 20, 2016 at 06:36:20PM +0200, Silent Leaf wrote:
> >> All in the title!
> >>
> >> I'm seeking a way to write a console app that isn't just asking
> questions
> >> one line after another with putStr and getLine. More something like Vim
> or
> >> Emacs when they're in the terminal (i don't wanna create a text ed, but
> >> it's the kind of programs i'm seeking to write: which takes up all the
> >> space on the screen, where you can write at many different places, and
> >> keyboard-driven, up to why not mouse- too, if the terminal (and haskell
> >> bindings) allow it.
> >
> > I suppose ncurses [1] would do, or other curses packages!
> >
> > [1] https://hackage.haskell.org/package/ncurses
>


I strongly recommend 'brick' [2]. It is very well engineered and
documented. It will be much higher level than the interface provided by
ncurses.

[2] https://hackage.haskell.org/package/brick


--
Benjamin Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160520/64ace887/attachment.html>


More information about the Beginners mailing list