SFML-control
[Index] Package maintainers For package maintainers and hackage trustees Candidates This library expose a SFML monad which deliver a higher level of abstraction over the low level bindings. It exposes a SFML monad you must use and eventually run to go back into IO. In doing that, the SFML monad runs all the destructors for you. This means you don't have to worry about explicit deallocation of the underlying C resources. To scrap as much boilerplate as possible, TH has been used. In fact, thanks to the TH machinery, the whole SFML functions has been lifted appropriately here: Conversions This is a 1:1 translation of this example: As you can see it's almost a 1:1 translation, you just need to run the monad and get rid of explicit destroy ! We decided that the user shouldn't pay the extra burder of a SFML monad if all he wants is a low level SFML binding.
hackage.haskell.org
0.2.0.2
over 12 years ago
3
3,015 total
2
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/SFML-control
spec |
| License | MIT |
| First Release | over 12 years ago |
| Last Synced | 5 days ago |
Repository
| Stars | 11 on GitHub |
| Forks | 2 on GitHub |