The sdl2 package

[Tags:bsd3, library]

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.

Properties

Versions 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.3.0, 1.3.1, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.2.1, 2.1.3, 2.1.3.1, 2.2.0
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), bytestring (>=0.10.4.0 && <0.11), exceptions (>=0.4 && <0.9), linear (>=1.10.1.2 && <1.21), OpenGL, sdl2, StateVar (>=1.1.0.0 && <1.2), text (>=1.1.0.0 && <1.3), transformers (>=0.2 && <0.6), vector (>=0.10.9.0 && <0.13) [details]
License BSD3
Copyright Copyright © 2013-2017 Gabríel Arthúr Pétursson
Author Gabríel Arthúr Pétursson, Oliver Charles
Maintainer gabriel@system.is, ollie@ocharles.org.uk
Category Graphics
Source repository head: git clone https://github.com/haskell-game/sdl2.git
Uploaded Sun Feb 5 23:03:53 UTC 2017 by Polarina
Distributions LTSHaskell:2.2.0, NixOS:2.2.0, Stackage:2.2.0, Tumbleweed:2.2.0
Downloads 6630 total (99 in the last 30 days)
Votes
5 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
examplesBuild examples (except opengl-example)DisabledAutomatic
opengl-exampleBuild opengl-exampleDisabledAutomatic
no-linearDo not depend on 'linear' libraryDisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees