r/haskell•
Reptoidal

[ANN] nano-ui, a functional immediate mode GUI toolkit

announcement

I have released an initial version of https://hackage.haskell.org/package/nano-ui, my immediate mode GUI toolkit for haskell.

This is the result of API driven development, since the nascence of my haskell journey I have always wanted to express user interfaces declaratively, clicked <- button "foo"; checked <- checkbox "bar", etc. The immediate mode paradigm seemed to me to marry quite well this desire for a declarative API and the desire to make rendering a pure function over some state. All my experience writing GUIs (in haskell or otherwise) has shown me that mutation is desirable, but we do our best to keep it contained, in as few places as possible, where it's explicit and easy to reason about.

here's a demo video of a GUI application built with nano-ui on the sdl backend

https://files.catbox.moe/jni2mj.mp4

Posted Sep 17, 2026, 5:36 PM UTC

333

Comments aren't archived yet

This post had 3 comments on Reddit. Comments for this period haven't been loaded into the archive yet.