Popularity
3.1
Declining
Activity
0.0
Stable
2
4
0

Monthly Downloads: 15
Programming language: Haskell
License: BSD 1-Clause License
Tags: Game     Gore    
Latest version: v2.0.0.0

gore-and-ash-network alternatives and similar packages

Based on the "gore" category.
Alternatively, view gore-and-ash-network alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of gore-and-ash-network or a related project?

Add another 'gore' Package

README

gore-and-ash-network

The module provides facilities for basic networking for Gore&Ash engine.

The module depends on gore-and-ash-logging module.

Installing

Add following to your stack.yml to packages section:

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

When defining you application stack, add NetworkT:

type AppStack = ModuleStack [LoggingT, NetworkT, ... other modules ... ] IO

And derive NetworkMonad for your resulting AppMonad:

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