beijaflor-io / haskell-libui Goto Github PK
View Code? Open in Web Editor NEWHaskell bindings to the libui C library.
License: GNU General Public License v3.0
Haskell bindings to the libui C library.
License: GNU General Public License v3.0
Just a writer EDSL is fine by me, then have it return abstract types, instead of concrete ones so the interpreter is freer to work on other backends / less strict execution
If possible this would be neat
There're a lot of experiments in the API that need to be removed
I currently can't use hpack because some directives aren't supported. We should find them, list them and contribute back
E.g. libui-simple-counter-example
, 100% CPU in htop
In strace
it's busy-looping around poll (because poll()
is given a 0-timeout):
[pid 31736] recvmsg(11, 0x7ffe9da1db20, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 31736] poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}], 3, 0) = 0 (Timeout)
[pid 31736] recvmsg(11, 0x7ffe9da1db20, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 31736] poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}], 3, 0) = 0 (Timeout)
Not sure if it's an issue with libui or haskell-libuil, or the example code calling the functions wrong.
The "imperative" part is:
Graphics.LibUI.Simple
is the FFI helpersGraphics.LibUI.FFI
is the FFIThe "declarative" part is:
Graphics.LibUI.Types
Graphics.LibUI.ReactiveBanana
Graphics.LibUI.MonadUI
is the ambitious bitThe high-level modules are exported by Graphics.LibUI
.
Hello, i searched on hackage for this package but i couldn't find it. Would you consider adding this package to hackage? Also adding it to stackage would be nice so that it can be installed with the stack tool.
Look into what types of sources and handlers could be wrapped by the package
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.