Copyright | (c) 2019-2020 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module provides Has
type class, adapted to the needs of this
application.
Documentation
Implementation of the Has type class pattern.
Instances
Has CurrentYear ConfiguredEnv Source # | |
Defined in Headroom.HeaderFn getter :: ConfiguredEnv -> CurrentYear Source # modifier :: (CurrentYear -> CurrentYear) -> ConfiguredEnv -> ConfiguredEnv Source # hasLens :: Lens' ConfiguredEnv CurrentYear Source # viewL :: MonadReader ConfiguredEnv m => m CurrentYear Source # | |
Has UpdateCopyrightMode ConfiguredEnv Source # | |
Defined in Headroom.HeaderFn | |
Has CommandInitOptions Env Source # | |
Defined in Headroom.Command.Init getter :: Env -> CommandInitOptions Source # modifier :: (CommandInitOptions -> CommandInitOptions) -> Env -> Env Source # hasLens :: Lens' Env CommandInitOptions Source # viewL :: MonadReader Env m => m CommandInitOptions Source # | |
Has Paths Env Source # | |
Has (FileSystem (RIO Env)) Env Source # | |
Defined in Headroom.Command.Init |