The gore-and-ash-sdl package

[Tags:bsd3, library]

Please see README.md


[Skip to Readme]

Properties

Versions 1.1.0.0, 1.1.0.1, 2.0.0.0, 2.1.0.0, 2.1.1.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), containers (>=0.5.6.2), deepseq (>=1.4.1.1), exceptions (>=0.8.0.2), gore-and-ash (>=1.1.0.0), lens (>=4.13), linear (>=1.20.3), mtl (>=2.2.1), resourcet (>=1.1.7.1), sdl2 (>=2.1.1), text (>=1.2.2.0), transformers (>=0.4.2.0), transformers-base (>=0.4.4), unordered-containers (>=0.2.5.1) [details]
License BSD3
Copyright 2016 Anton Gushcha
Author Anton Gushcha
Maintainer ncrashed@gmail.com
Stability Unknown
Category Game
Home page git@github.com:Teaspot-Studio/gore-and-ash-sdl.git
Uploaded Sat Nov 19 16:13:54 UTC 2016 by NCrashed
Distributions NixOS:2.1.1.0
Downloads 193 total (2 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for gore-and-ash-sdl

Readme for gore-and-ash-sdl-2.1.1.0

gore-and-ash-sdl

The module provides integraion with SDL2 library for Gore&Ash engine.

Installing

Add following to your stack.yml to packages section:

- location:
    git: https://github.com/Teaspot-Studio/gore-and-ash-sdl.git
    commit: <PLACE HERE FULL HASH OF LAST COMMIT> 

When defining you application stack, add SDLT:

type AppStack = ModuleStack [SDLT, ... other modules ... ] IO

And derive MonadSDL for your resulting AppMonad:

newtype AppMonad a = AppMonad (AppStack a)
  deriving (Functor, Applicative, Monad, MonadFix, MonadIO, MonadThrow, MonadCatch, MonadSDL)