LambdaHack-0.2.10: A roguelike game engine in early and active development

Safe HaskellNone

Game.LambdaHack.Common.Effect

Description

Effects of content on other content. No operation in this module involves the State or Action type.

Synopsis

Documentation

data Effect a

Instances

Functor Effect 
Eq a => Eq (Effect a) 
Ord a => Ord (Effect a) 
Read a => Read (Effect a) 
Show a => Show (Effect a) 
Generic (Effect a) 
Binary a => Binary (Effect a) 
Hashable a => Hashable (Effect a) 

effectTrav :: Effect a -> (a -> State s b) -> State s (Effect b)

Transform an effect using a stateful function.