sdl2-gfx: Haskell bindings to SDL2_gfx

[ foreign, graphics, library, mit, program ] [ Propose Tags ]


[Last Documentation]

  • SDL
    • SDL.Framerate
    • SDL.ImageFilter
    • SDL.Primitive
    • Raw
      • SDL.Raw.Framerate
      • SDL.Raw.Helper
      • SDL.Raw.ImageFilter
      • SDL.Raw.Primitive
      • SDL.Raw.Rotozoom
    • SDL.Rotozoom


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.2,
Change log
Dependencies base (>=4.9 && <5), lifted-base (>=0.2), monad-control (>=1.0), sdl2 (>=2.0.0), sdl2-gfx, template-haskell (>=2.10), vector (>=0.10) [details]
License MIT
Copyright 2015 Siniša Biđin, 2021 Daniel Firth
Author Siniša Biđin, Daniel Firth
Maintainer Siniša Biđin <>, Daniel Firth <>
Category Graphics, Foreign
Bug tracker
Source repo head: git clone
Uploaded by locallycompact at 2021-09-15T20:10:38Z
Distributions LTSHaskell:, NixOS:
Reverse Dependencies 6 direct, 2 indirect [details]
Executables sdl2-gfx-example
Downloads 1798 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2021-09-15 [all 2 reports]

Readme for sdl2-gfx-

[back to package description]


Hackage GitLab

Haskell bindings to SDL2_gfx. Provides both raw and high level bindings.

The original SDL2_gfx documentation can also help, as the bindings are close to a direct mapping.


A small example executable is included with the library. It uses many parts of the library to draw a chaotic jumbled mess on your screen. You can find it in the example directory.

stack exec -- sdl2-gfx-example