gore-and-ash-lambdacube

Core module for Gore&Ash engine that do something. https://github.com/TeaspotStudio/gore-and-ash-lambdacube#readme

Latest on Hackage:0.2.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Anton Gushcha
Maintained by ncrashed@gmail.com

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

Changes

0.2.0.0

  • Adapted to lamdacube-compiler-0.6.0.0 and GHC 8.0.1
comments powered byDisqus