headroom-0.4.1.0: License Header Manager
Copyright(c) 2019-2021 Vaclav Svejcar
LicenseBSD-3-Clause
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.Data.Has

Description

This module provides Has type class, adapted to the needs of this application.

Synopsis

Documentation

class Has a t where Source #

Implementation of the Has type class pattern.

Minimal complete definition

getter, modifier | hasLens

Methods

getter :: t -> a Source #

modifier :: (a -> a) -> t -> t Source #

hasLens :: Lens' t a Source #

viewL :: MonadReader t m => m a Source #

Instances

Instances details
Has CurrentYear ConfiguredEnv Source # 
Instance details

Defined in Headroom.HeaderFn

Has UpdateCopyrightMode ConfiguredEnv Source # 
Instance details

Defined in Headroom.HeaderFn

Has CommandInitOptions Env Source # 
Instance details

Defined in Headroom.Command.Init

Has Paths Env Source # 
Instance details

Defined in Headroom.Command.Init

Has (FileSystem (RIO Env)) Env Source # 
Instance details

Defined in Headroom.Command.Init