reflex-sdl2: SDL2 and reflex FRP

[ game, library, mit, program ] [ Propose Tags ]

A minimal host for sdl2 based reflex apps.

[Skip to Readme]




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,
Dependencies base (>=4.7 && <5), dependent-sum (>=0.4), mtl (>=2.2.1), ref-tf, reflex, reflex-sdl2, sdl2 [details]
License MIT
Copyright Copyright: (c) 2017 Schell Scivally
Author Schell Scivally
Category Game
Home page
Source repo head: git clone
Uploaded by SchellScivally at 2017-08-21T22:34:11Z
Distributions NixOS:
Executables reflex-sdl2-exe
Downloads 1903 total (7 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2017-08-21 [all 3 reports]

Readme for reflex-sdl2-

[back to package description]


This is a very minimal host for running reflex apps using sdl2.


Writing and running sdl2 apps requires version 2 of the awesome SDL library.


Using homebrew...

brew install sdl2


The sdl2 bindings require SDL >= 2.0.4, or for special instructions to be followed. Assuming you're on Ubuntu >= 16.04, you can run

apt-get install libsdl2-dev

otherwise please visit the org page above and install via their README.


This project uses stack for building. From the project directory:

stack build


You can view an example using the built-in 2d renderer in app/Main.hs. To run the example do:

stack build
stack exec reflex-sdl2-exe