This past weekend I had a few moments to spend writing a reflex host for sdl applications. I expected the task to be much harder - a testament to the two libraries’ authors! So - standing on the shoulders of giants is a new barebones package for starting game and multimedia projects (in Haskell) called reflex-sdl2.

The hackage docs contain a link to a small sample that compiles into a desktop app. If everything works, you should see some 1980’s stlye neon colored squares appear whenever you click or release your mouse :)

Thanks to Ryan Trinkle for helping me brainstorm and letting me bug him about types at odd hours of the night and for giving this new library an official place to live.

r/haskell comments