cake3-0.1.0.0: Third cake - Makefile DSL

Safe HaskellNone

Development.Cake3.Monad

Synopsis

Documentation

data MakeState Source

Constructors

MS 

Instances

modifyRecipes :: MonadState MakeState m => (Map Target (Set Recipe1) -> Map Target (Set Recipe1)) -> m ()Source

newtype Alias Source

The File Alias records the file which may be referenced from other rules, it's Brothers, and the recipes required to build this file.

Constructors

Alias (File, [File], Make Recipe) 

newtype Make a Source

Constructors

Make 

Fields

unMake :: StateT MakeState IO a
 

flattern :: (Ord x, Ord y, Show y) => Map x (Set y) -> Either String (Map x y)Source

flattern' :: (Ord x, Ord y, Show y) => Map x (Set y) -> Map x ySource

modifyLoc :: MonadState MakeState m => (Location -> Location) -> m ()Source

newtype A a Source

Constructors

A 

Fields

unA :: StateT Recipe1 Make a
 

Instances

Monad A 
Functor A 
MonadFix A 
Applicative A 
MonadIO A 
MonadState Recipe1 A 
Referal x => Referal (A x)