hbro-1.3.0.0: Minimal extensible web-browser

Safe HaskellNone
LanguageHaskell98

Hbro.Config

Contents

Description

General configuration parameters. The recommended way to import this module is: import Hbro.Config hiding(get, set) import qualified Hbro.Config as Config

Synopsis

Types

data Config

Custom settings provided by the user

Getter/setter

get :: (MonadIO m, MonadReader r m, Has (TVar Config) r) => Lens' Config a -> m a

set :: (MonadIO m, MonadReader r m, Has (TVar Config) r) => Lens' Config a -> a -> m ()