Copyright | (c) Julian Ospald 2020 |
---|---|
License | LGPL-3.0 |
Maintainer | hasufell@hasufell.de |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
_A_ARM64 :: Prism' Architecture () Source #
_A_ARM :: Prism' Architecture () Source #
_A_Sparc64 :: Prism' Architecture () Source #
_A_Sparc :: Prism' Architecture () Source #
_A_PowerPC64 :: Prism' Architecture () Source #
_A_PowerPC :: Prism' Architecture () Source #
_A_32 :: Prism' Architecture () Source #
_A_64 :: Prism' Architecture () Source #
_UnknownLinux :: Prism' LinuxDistro () Source #
_Exherbo :: Prism' LinuxDistro () Source #
_Gentoo :: Prism' LinuxDistro () Source #
_AmazonLinux :: Prism' LinuxDistro () Source #
_Alpine :: Prism' LinuxDistro () Source #
_RedHat :: Prism' LinuxDistro () Source #
_CentOS :: Prism' LinuxDistro () Source #
_Fedora :: Prism' LinuxDistro () Source #
_Mint :: Prism' LinuxDistro () Source #
_Ubuntu :: Prism' LinuxDistro () Source #
_Debian :: Prism' LinuxDistro () Source #
_Prerelease :: Prism' Tag () Source #
_Recommended :: Prism' Tag () Source #
viPreCompile :: Lens' VersionInfo (Maybe Text) Source #
viPostRemove :: Lens' VersionInfo (Maybe Text) Source #
viChangeLog :: Lens' VersionInfo (Maybe URI) Source #
gets :: forall f a env m. (MonadReader env m, LabelOptic' f A_Lens env a) => m a Source #
getAppState :: MonadReader AppState m => m AppState Source #
getLeanAppState :: (MonadReader env m, LabelOptic' "settings" A_Lens env Settings, LabelOptic' "dirs" A_Lens env Dirs, LabelOptic' "keyBindings" A_Lens env KeyBindings, LabelOptic' "loggerConfig" A_Lens env LoggerConfig) => m LeanAppState Source #
getSettings :: (MonadReader env m, LabelOptic' "settings" A_Lens env Settings) => m Settings Source #
getDirs :: (MonadReader env m, LabelOptic' "dirs" A_Lens env Dirs) => m Dirs Source #
getLogCleanup :: (MonadReader env m, LabelOptic' "logCleanup" A_Lens env (IO ())) => m (IO ()) Source #
getKeyBindings :: (MonadReader env m, LabelOptic' "keyBindings" A_Lens env KeyBindings) => m KeyBindings Source #
getGHCupInfo :: (MonadReader env m, LabelOptic' "ghcupInfo" A_Lens env GHCupInfo) => m GHCupInfo Source #
getPlatformReq :: (MonadReader env m, LabelOptic' "pfreq" A_Lens env PlatformRequest) => m PlatformRequest Source #
type HasSettings env = LabelOptic' "settings" A_Lens env Settings Source #
type HasKeyBindings env = LabelOptic' "keyBindings" A_Lens env KeyBindings Source #
type HasGHCupInfo env = LabelOptic' "ghcupInfo" A_Lens env GHCupInfo Source #
type HasPlatformReq env = LabelOptic' "pfreq" A_Lens env PlatformRequest Source #
type HasLog env = LabelOptic' "loggerConfig" A_Lens env LoggerConfig Source #
getCache :: (MonadReader env m, HasSettings env) => m Bool Source #
getDownloader :: (MonadReader env m, HasSettings env) => m Downloader Source #