headroom-0.2.2.1: License Header Manager

Copyright(c) 2019-2020 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 #