keystore-0.8.1.1: Managing stores of secret things

Safe HaskellNone
LanguageHaskell2010

Data.KeyStore.KS.KS

Documentation

data KS a Source #

Instances
Monad KS Source # 
Instance details

Defined in Data.KeyStore.KS.KS

Methods

(>>=) :: KS a -> (a -> KS b) -> KS b #

(>>) :: KS a -> KS b -> KS b #

return :: a -> KS a #

fail :: String -> KS a #

Functor KS Source # 
Instance details

Defined in Data.KeyStore.KS.KS

Methods

fmap :: (a -> b) -> KS a -> KS b #

(<$) :: a -> KS b -> KS a #

Applicative KS Source # 
Instance details

Defined in Data.KeyStore.KS.KS

Methods

pure :: a -> KS a #

(<*>) :: KS (a -> b) -> KS a -> KS b #

liftA2 :: (a -> b -> c) -> KS a -> KS b -> KS c #

(*>) :: KS a -> KS b -> KS b #

(<*) :: KS a -> KS b -> KS a #

MonadError Reason KS Source # 
Instance details

Defined in Data.KeyStore.KS.KS

Methods

throwError :: Reason -> KS a #

catchError :: KS a -> (Reason -> KS a) -> KS a #

data Ctx Source #

Constructors

Ctx 
Instances
Show Ctx Source # 
Instance details

Defined in Data.KeyStore.KS.KS

Methods

showsPrec :: Int -> Ctx -> ShowS #

show :: Ctx -> String #

showList :: [Ctx] -> ShowS #

data State Source #

Constructors

State 

data LogEntry Source #

Constructors

LogEntry 
Instances
Show LogEntry Source # 
Instance details

Defined in Data.KeyStore.KS.KS

withKey :: Name -> KS a -> KS a Source #

trun :: KS a -> a Source #

e2io :: E a -> IO a Source #

e2ks :: E a -> KS a Source #

run_ :: Ctx -> State -> KS a -> (E a, State, [LogEntry]) Source #

btw :: String -> KS () Source #

catchKS :: KS a -> (Reason -> KS a) -> KS a Source #

lookupOpt :: Show a => Opt a -> KS a Source #

adjustKeyKS :: Name -> (Key -> Key) -> KS () Source #

randomKS :: (CPRNG -> (a, CPRNG)) -> KS a Source #