Frame.Config
Description
Module to define a configuration to be provided when launching framework applications
- data Config = Config {}
- class MonadReader Config m => FrameConfig m
- asks :: MonadReader r m => (r -> a) -> m a
Documentation
class MonadReader Config m => FrameConfig m Source
Instances
MonadReader Config m => FrameConfig m |
asks :: MonadReader r m => (r -> a) -> m a
Retrieves a function of the current environment. Parameters:
- The selector function to apply to the environment.
See an example in Control.Monad.Reader.