Haskell with ncurses

As a beginning Haskeller working my way through the Haskell book, I'm looking ahead at different options for a user interface. The idea is to build various small tools for personal use. After reading around, it looks like web apps are preferred. Tried to use the Atom editor, and it just seemed a little slow on my machine. The interfaces don't need to be complex or "pretty", just clean looking. I would almost prefer something simple like ncurses. What are your opinions/experiences with using ncurses with Haskell? Or is that the wrong path altogether? Regards, Andrea Sent with [ProtonMail](https://protonmail.com) Secure Email.

On Sun, Nov 20, 2016 at 11:18 PM, Atrudyjane via Haskell-Cafe < haskell-cafe@haskell.org> wrote:
I would almost prefer something simple like ncurses.
ncurses is rarely as simple as it looks. The API has rather ridiculous edge cases, because curses was originally ripped out of the vi source code and wasn't intended for general use; the Haskell bindings to it are either low level and little different from C programming, or higher level but annoyingly incomplete. http://hackage.haskell.org/package/brick might be of more interest. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

I used vty-ui in the past with great pleasure. But on hackage now I see
it's deprecated in favor of [brick](
https://hackage.haskell.org/package/brick).
Have fun!
Robin
2016-11-21 5:21 GMT+01:00 Brandon Allbery
On Sun, Nov 20, 2016 at 11:18 PM, Atrudyjane via Haskell-Cafe < haskell-cafe@haskell.org> wrote:
I would almost prefer something simple like ncurses.
ncurses is rarely as simple as it looks. The API has rather ridiculous edge cases, because curses was originally ripped out of the vi source code and wasn't intended for general use; the Haskell bindings to it are either low level and little different from C programming, or higher level but annoyingly incomplete.
http://hackage.haskell.org/package/brick might be of more interest.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.

Downloaded brick and tried a couple of the demo programs last night, looks great. This could work. Thanks everybody for pointing the way! Andrea Sent with [ProtonMail](https://protonmail.com) Secure Email. -------- Original Message -------- Subject: Re: [Haskell-cafe] Haskell with ncurses Local Time: November 21, 2016 8:26 AM UTC Time: November 21, 2016 2:26 PM From: simon@joyful.com To: haskell-cafe@haskell.org brick (and vty) are well maintained and wonderful - recommended! _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
participants (4)
-
Atrudyjane
-
Brandon Allbery
-
Robin Palotai
-
Simon Michael