Twitter | Pretraživanje | |
Brandon Kase
Barbq, my macOS status bar, is starting to become usable: It's written in Haskell with a custom style Comonadic UI layer on top of the "vty" package for the status bar widgets.
Reply Retweet Označi sa "sviđa mi se" More
Brandon Kase 21. stu
Odgovor korisniku/ci @paf31
Reply Retweet Označi sa "sviđa mi se"
Brandon Kase 21. stu
Odgovor korisniku/ci @paf31
Just realized Handler and Responder are the same :/
Reply Retweet Označi sa "sviđa mi se"
Brandon Kase 21. stu
Odgovor korisniku/ci @bkase_
Also I’m using Free applicatives to model the data providers for the different widgets so I can compose them with no IO even though I need it to thread the bits together. It’s really fun to use these things
Reply Retweet Označi sa "sviđa mi se"
Tomás Ruiz-López 👨🏻‍💻 at dotSwift 🇫🇷 21. stu
Odgovor korisniku/ci @bkase_ @paf31
I’d love to read the code if you ever release it
Reply Retweet Označi sa "sviđa mi se"
Brandon Kase 21. stu
Odgovor korisniku/ci @tomasruizlopez @paf31
Okay warning: I haven’t done a pass to properly split up the code into enough files etc etc, but feel free to take a look
Reply Retweet Označi sa "sviđa mi se"
dimsumthinking 21. stu
Odgovor korisniku/ci @bkase_ @paf31
Can you point me at something that would help me understand what you mean by comonadic ui layer
Reply Retweet Označi sa "sviđa mi se"
Brandon Kase 21. stu
Odgovor korisniku/ci @dimsumthinking @paf31
I think I can explain it well in person, there’s not much material on it that I know of: Just a series of blog posts and a paper by and
Reply Retweet Označi sa "sviđa mi se"
Bruno Berisso 21. stu
Odgovor korisniku/ci @bkase_ @paf31
These looks pretty cool! I have at least 4 unfinished project I started playing with Vty and this idea never came to my mind I'll give it a spin to the code for sure. Thanks for sharing 👍
Reply Retweet Označi sa "sviđa mi se"
Brandon Kase 22. stu
Odgovor korisniku/ci @QueDijoQueDijo @paf31
It’s surprisingly ergonomic
Reply Retweet Označi sa "sviđa mi se"
Jonathan Daugherty 21. stu
Odgovor korisniku/ci @bkase_ @paf31
You might also consider:
Reply Retweet Označi sa "sviđa mi se"
Brandon Kase 21. stu
Odgovor korisniku/ci @jtdaugherty @paf31
At first I was trying to make a Brick backend of the comonad components but I found it simpler to bind to vty directly
Reply Retweet Označi sa "sviđa mi se"