Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: How to write console apps? Can't find any library,
tutorial... at all (Silent Leaf)
2. Re: How to write console apps? Can't find any library,
tutorial... at all (Benjamin Jones)
3. Re: How to write console apps? Can't find any library,
tutorial... at all (Daniel Bergey)
4. Re: How to write console apps? Can't find any library,
tutorial... at all (Silent Leaf)
----------------------------------------------------------------------
Message: 1
Date: Fri, 20 May 2016 21:13:53 +0200
From: Silent Leaf <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] How to write console apps? Can't find
any library, tutorial... at all
Message-ID:
<cagfccjm6pyihukpceyc6ojpspa3bdbsx1firbfkqthnyn5w...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
thanks a lot! will look into it then get back to you. :) it looks promising!
Le vendredi 20 mai 2016, Francesco Ariis <[email protected]> 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
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20160520/f2ed4a1e/attachment-0001.html>
------------------------------
Message: 2
Date: Fri, 20 May 2016 12:17:42 -0700
From: Benjamin Jones <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] How to write console apps? Can't find
any library, tutorial... at all
Message-ID:
<CALfiL_JJSxUQ0BPuQUy0SreJ=h2uqa6qzzpuqk4rb1us+7v...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Fri, May 20, 2016 at 12:13 PM, Silent Leaf <[email protected]>
wrote:
> thanks a lot! will look into it then get back to you. :) it looks
> promising!
>
> Le vendredi 20 mai 2016, Francesco Ariis <[email protected]> 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-0001.html>
------------------------------
Message: 3
Date: Fri, 20 May 2016 15:48:36 -0400
From: Daniel Bergey <[email protected]>
To: Alex Belanger <[email protected]>, The Haskell-Beginners
Mailing List - Discussion of primarily beginner-level topics related
to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] How to write console apps? Can't find
any library, tutorial... at all
Message-ID:
<87zirky0h7.fsf@chladni.i-did-not-set--mail-host-address--so-tickle-me>
Content-Type: text/plain
In addition to vty, here are a couple of higher-level (I think)
libraries in the same vein:
http://hackage.haskell.org/package/concurrent-output
http://hackage.haskell.org/package/brick
On 2016-05-20 at 12:40, Alex Belanger <[email protected]> wrote:
> Look at the `vty` library which is similar in essence to (n)curses.
>
> It looks you manipulate the terminal's cursor, with different color and modes.
>
> I think it even has minimal widgets.
>
> On May 20, 2016 12:36 PM, "Silent Leaf" <[email protected]> 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.
>
> So, does anyone know any library to do this? Any tutorial, maybe? I'm
> seeking for
> hours, but every time i type stuff like "console application haskell" in
> google, it
> just gives me irrelevant answers --as is the trend it seems subjectively,
> of those
> last months, with our bestest G-friend. :(
>
> thanks a lot in advance for anything!
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
Message: 4
Date: Fri, 20 May 2016 23:37:03 +0200
From: Silent Leaf <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] How to write console apps? Can't find
any library, tutorial... at all
Message-ID:
<cagfccjof8h4yvulynsaqx3hoxrrmv0oxduf+bdy2wbzu2n4...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
great thanks! yeah higher lever is possibly better i think here :) i'll
compare and try a bit of all :)
Thanks again!
Le vendredi 20 mai 2016, Daniel Bergey <[email protected]> a ?crit :
> In addition to vty, here are a couple of higher-level (I think)
> libraries in the same vein:
>
> http://hackage.haskell.org/package/concurrent-output
> http://hackage.haskell.org/package/brick
>
> On 2016-05-20 at 12:40, Alex Belanger <[email protected]> wrote:
>> Look at the `vty` library which is similar in essence to (n)curses.
>>
>> It looks you manipulate the terminal's cursor, with different color and
modes.
>>
>> I think it even has minimal widgets.
>>
>> On May 20, 2016 12:36 PM, "Silent Leaf" <[email protected]> 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.
>>
>> So, does anyone know any library to do this? Any tutorial, maybe?
I'm seeking for
>> hours, but every time i type stuff like "console application
haskell" in google, it
>> just gives me irrelevant answers --as is the trend it seems
subjectively, of those
>> last months, with our bestest G-friend. :(
>>
>> thanks a lot in advance for anything!
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20160520/b10374bb/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 95, Issue 27
*****************************************