Intro to GUI programming on Thursday 5pm - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sridhar Ratnakumar

Join us on 1st October, 17.00 UTC to learn more about GUI programming in Haskell.

Our software engineer Vladislav Zavialov will give a talk on how to use Haskell and GTK+ to build graphical user interfaces in a functional programming language.

https://twitter.com/serokell/status/1310956427196936193

Georgi Lyubenov // googleson78

interesting!
we were using gtk, but it was too hard to make it look the same way on win+mac+lin, so we sold our soul to the devil switched to electron

Sridhar Ratnakumar

@Georgi Lyubenov // googleson78 How do you use Haskell in electron? Via GHCJS?

Georgi Lyubenov // googleson78

and communicate between them in some not really important way

Georgi Lyubenov // googleson78

I honestly wish we had tried out some pure hs solution right now, but at the time nobody had the experience to do so (we started out with pure js, because our "frontend" doesn't/didn't have too much logic)

Sridhar Ratnakumar

One of my pet project ideas is to create a framework/library for writing VSCode extensions in 100% Haskell (via GHCJS and possibly also reflex).

VSCode is a great piece of extensible software, but I hate the thought of having to use JS (even if TS) to customize it.

Torsten Schmits

I had that idea once, writing firefox extensions with ScalaJS :sweat_smile:

Sridhar Ratnakumar

TIL you can write GNOME extensions (w/ UI) in JavaScript. eg: https://github.com/hslbck/gnome-shell-extension-radio/blob/master/radio%40hslbck.gmail.com/channelCreator.js

An opportunity for GHCJS to shine ...?

Gnome shell extension for listening to internet radio streams - hslbck/gnome-shell-extension-radio
Sridhar Ratnakumar

Imagine if GNOME or KDE adopted Haskell!

bradrn

I’ve used Haskell+Electron as well! You can do it pretty easily with threepenny-gui — they even give a tutorial for Electron integration. In fact, I plan to use that for my current project (at least when I can get threepenny-gui to build) — in the past I’ve used GTK, but that doesn’t have some features I need for this project.

GUI framework that uses the web browser as a display. - HeinrichApfelmus/threepenny-gui
(Cross-posted from Stack Overflow on the advice of @sjakobi.) General summary/comments (optional) For a new project, I have been trying to build the threepenny-gui package, something which I have d...
Sridhar Ratnakumar

STARTING NOW

https://meet.google.com/fui-diin-uxk

Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
Sridhar Ratnakumar

STARTING NOW

https://meet.google.com/fui-diin-uxk

Real-time meetings by Google. Using your browser, share your video, desktop, and presentations with teammates and customers.
TheMatten

Seems like I was able to join just in time... to see the end :joy:
Do you plan some future meeting?

Sridhar Ratnakumar

it is being recorded. i had to quit early