Package Info


Both high- and low-level bindings to the SDL library (version 2.0.4+)


This package contains bindings to the SDL 2 library, in both high- and low-level forms:

The 'SDL' namespace contains high-level bindings, where enumerations are split into sum types, and we perform automatic error-checking.

The 'SDL.Raw' namespace contains an almost 1-1 translation of the C API into Haskell FFI calls. As such, this does not contain sum types nor error checking. Thus this namespace is suitable for building your own abstraction over SDL, but is not recommended for day-to-day programming.

License: BSD-3-Clause



Package Version Update ID Released Package Hub Version Platforms Subpackages
2.2.0-bp150.1.3 info GA Release 2018-07-31 15
  • AArch64
  • ppc64le
  • ghc-sdl2
  • ghc-sdl2-devel
2.2.0-bp150.1.4 info GA Release 2018-07-30 15
  • x86-64
  • ghc-sdl2
  • ghc-sdl2-devel