GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Browse
  • What's new
  • Upload
  • User accounts
  • sdl2-2.5.6.1.tar.gz
  • browse
  • Package description
  • AlexanderBondarenko
  • OliverCharles
  • Polarina
  • tejon
  • edit package information

This view

  • Original page
  • New address

GeezerVison is showing hackage.haskell.org — sdl2

Hackage :: [Package]
  • Browse
  • What's new
  • Upload
  • User accounts

sdl2: Both high- and low-level bindings to the SDL library (version 2.0.6+).

[ bsd3, graphics, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Read SDL for a getting started guide.

Modules

[Last Documentation]

  • SDL
    • SDL.Audio
    • SDL.Event
    • SDL.Exception
    • SDL.Filesystem
    • SDL.Hint
    • SDL.Init
    • SDL.Input
      • SDL.Input.GameController
      • SDL.Input.Joystick
      • SDL.Input.Keyboard
        • SDL.Input.Keyboard.Codes
      • SDL.Input.Mouse
    • Internal
      • SDL.Internal.Exception
      • SDL.Internal.Numbered
      • SDL.Internal.Types
      • SDL.Internal.Vect
    • SDL.Power
    • SDL.Raw
      • SDL.Raw.Audio
      • SDL.Raw.Basic
      • SDL.Raw.Enum
      • SDL.Raw.Error
      • SDL.Raw.Event
      • SDL.Raw.Filesystem
      • SDL.Raw.Haptic
      • SDL.Raw.Platform
      • SDL.Raw.Power
      • SDL.Raw.Thread
      • SDL.Raw.Timer
      • SDL.Raw.Types
      • SDL.Raw.Video
    • SDL.Time
    • SDL.Vect
    • SDL.Video
      • SDL.Video.OpenGL
      • SDL.Video.Renderer
      • SDL.Video.Vulkan

Flags

Manual Flags

NameDescriptionDefault
examples

Build examples (except opengl-example)

Disabled
opengl-example

Build opengl-example

Disabled
no-linear

Do not depend on linear library

Disabled
pkgconfig

Use pkgconfig to sort out SDL2 dependency

Enabled
Automatic Flags
NameDescriptionDefault
recent-ish

Use features from a more recent libsdl2 release.

Enabled

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

Downloads

  • sdl2-2.5.6.1.tar.gz [browse] (Cabal source package)
  • Package description (as included in the package)

Maintainer's Corner

Package maintainers

  • AlexanderBondarenko, OliverCharles, Polarina, tejon

For package maintainers and hackage trustees

  • edit package information

Candidates

  • No Candidates
Versions [RSS] 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, 2.3.0, 2.3.0.1, 2.4.0, 2.4.0.1, 2.4.1.0, 2.5.0.0, 2.5.1.0, 2.5.2.0, 2.5.3.0, 2.5.3.1, 2.5.3.2, 2.5.3.3, 2.5.4.0, 2.5.4.1, 2.5.5.0, 2.5.5.1, 2.5.6.0, 2.5.6.1 (info)
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), bytestring (>=0.10.4.0 && <0.13), exceptions (>=0.4 && <0.11), linear (>=1.10.1.2 && <1.24), StateVar (>=1.1.0.0 && <1.3), text (>=1.1.0.0 && <2.2), transformers (>=0.2 && <0.7), vector (>=0.10.9.0 && <0.14) [details]
License BSD-3-Clause
Copyright Copyright © 2013-2017 Gabríel Arthúr Pétursson
Author Gabríel Arthúr Pétursson, Oliver Charles
Maintainer [email protected], [email protected]
Uploaded by AlexanderBondarenko at 2026-08-31T06:33:44Z
Category Graphics
Source repo head: git clone https://github.com/haskell-game/sdl2.git
Distributions Arch:2.5.6.1, LTSHaskell:2.5.6.1, Stackage:2.5.6.1
Reverse Dependencies 46 direct, 5 indirect [details]
Executables opengl-example, rendergeometry-example, userevent-example, eventwatch-example, audio-example, twinklebear-lesson-05, twinklebear-lesson-04a, twinklebear-lesson-04, twinklebear-lesson-02, twinklebear-lesson-01, lazyfoo-lesson-43, lazyfoo-lesson-20, lazyfoo-lesson-19, lazyfoo-lesson-18, lazyfoo-lesson-17, lazyfoo-lesson-15, lazyfoo-lesson-14, lazyfoo-lesson-13, lazyfoo-lesson-12, lazyfoo-lesson-11, lazyfoo-lesson-10, lazyfoo-lesson-09, lazyfoo-lesson-08, lazyfoo-lesson-07, lazyfoo-lesson-05, lazyfoo-lesson-04, lazyfoo-lesson-03, lazyfoo-lesson-02, lazyfoo-lesson-01
Downloads 31704 total (142 in the last 30 days)
Rating 2.75 (votes: 12) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2026-08-31 [all 2 reports]
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.