@hackage gore-and-ash-lambdacube0.2.0.0

Core module for Gore&Ash engine that do something.

gore-and-ash-lambdacube

The module provides API for something for Gore&Ash engine.

Installing

Add following to your stack.yml to packages section:

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

When defining you application stack, add LambdaCubeT:

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

And derive MonadLambdaCube for your resulting AppMonad:

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

Building examples

The package has several examples, to build them pass examples flag:

stack install --flag gore-and-ash-lambdacube:examples