Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
crypton-connection Network.Connection TLS Settings that can be either expressed as simple settings, or as full blown TLS.Params settings. Unless you need access to parameters that are not accessible through the simple settings, you should use TLSSettingsSimple.
TLSSettings :: ClientParams -> TLSSettingscrypton-connection Network.Connection full blown TLS Settings directly using TLS.Params. for power users.
TLSSettingsSimple :: Bool -> Bool -> Bool -> Supported -> TLSSettingscrypton-connection Network.Connection No documentation available.
connectionSetSecure :: ConnectionContext -> Connection -> TLSSettings -> IO ()crypton-connection Network.Connection Activate secure layer using the parameters specified. This is typically used to negotiate a TLS channel on an already established channel, e.g., supporting a STARTTLS command. It also flushes the received buffer to prevent application confusing received data before and after the setSecure call. If the connection is already using TLS, nothing else happens.
type family
CollapseTo (h :: k -> Type -> l -> Type) xgenerics-sop Generics.SOP Maps products to lists, and sums to identities.
argsSettings :: [String] -> IO (ParseFlags, [Classify], Hint)hlint Language.Haskell.HLint A version of autoSettings which respects some of the arguments supported by HLint. If arguments unrecognised by HLint are used it will result in an error. Arguments which have no representation in the return type are silently ignored.
autoSettings :: IO (ParseFlags, [Classify], Hint)hlint Language.Haskell.HLint The function produces a tuple containing ParseFlags (for parseModuleEx), and Classify and Hint for applyHints. It approximates the normal HLint configuration steps, roughly:
- Use findSettings with readSettingsFile to find and load the HLint settings files.
- Use parseFlagsAddFixities and resolveHints to transform the outputs of findSettings.
-
hlint Language.Haskell.HLint Given a function to load a module (typically readSettingsFile), and a module to start from (defaults to hlint.yaml) find the information from all settings files.
readSettingsFile :: Maybe FilePath -> String -> IO (FilePath, Maybe String)hlint Language.Haskell.HLint Given a directory (or Nothing to imply getHLintDataDir), and a module name (e.g. HLint.Default), find the settings file associated with it, returning the name of the file, and (optionally) the contents. This function looks for all settings files starting with HLint. in the directory argument, and all other files relative to the current directory.
reset :: forall (m :: Type -> Type) a . Monad m => Codensity m a -> Codensity m akan-extensions Control.Monad.Codensity