mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-11-25 21:38:31 +03:00
Add README
This commit is contained in:
parent
ec00731eaf
commit
9489b6c820
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
||||
brick
|
||||
-----
|
||||
|
||||
`brick` is a terminal user interface programming
|
||||
library written in Haskell, in the style of
|
||||
[gloss](http://hackage.haskell.org/package/gloss). This means you write
|
||||
a function that describes how your user interface should look, but the
|
||||
library takes care of a lot of the book-keeping that so commonly goes
|
||||
into writing such programs.
|
||||
|
||||
The API exposed by `brick` is purely-functional. Unlike most GUI
|
||||
toolkits which require you to write a long and tedious sequence of
|
||||
"create a widget, now bind an event handler", `brick` just requires you
|
||||
to describe your interface -- even the bits that are stateful -- and it
|
||||
does the rest. All you have to do is provide functions to do transform
|
||||
your own application state when input (or other kinds of) events arrive.
|
||||
|
||||
The best way to get started is to build, run, and read the source for
|
||||
the various demonstration programs in the `programs/` directory. This
|
||||
will help you get to know the library and what it can do. There is also
|
||||
extensive Haddock documentation.
|
Loading…
Reference in New Issue
Block a user