Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CoreState_v0 = CoreState_v0 {}
- data CoreState = CoreState {}
- initialCoreState :: CoreState
- getUACCT :: Query CoreState (Maybe UACCT)
- setUACCT :: Maybe UACCT -> Update CoreState ()
- getRootRedirect :: Query CoreState (Maybe Text)
- setRootRedirect :: Maybe Text -> Update CoreState ()
- getLoginRedirect :: Query CoreState (Maybe Text)
- setLoginRedirect :: Maybe Text -> Update CoreState ()
- getSiteName :: Query CoreState (Maybe Text)
- setSiteName :: Maybe Text -> Update CoreState ()
- getCoreState :: Query CoreState CoreState
- setCoreState :: CoreState -> Update CoreState ()
- data GetUACCT = GetUACCT
- newtype SetUACCT = SetUACCT (Maybe UACCT)
- data GetRootRedirect = GetRootRedirect
- newtype SetRootRedirect = SetRootRedirect (Maybe Text)
- data GetLoginRedirect = GetLoginRedirect
- newtype SetLoginRedirect = SetLoginRedirect (Maybe Text)
- data GetSiteName = GetSiteName
- newtype SetSiteName = SetSiteName (Maybe Text)
- data GetCoreState = GetCoreState
- newtype SetCoreState = SetCoreState CoreState
- data Acid = Acid {}
- class GetAcidState m st where
- getAcidState :: m (AcidState st)
- withAcid :: Maybe FilePath -> (Acid -> IO a) -> IO a
Documentation
data CoreState_v0 Source #
CoreState
holds some values that are required by the core
itself, or which are useful enough to be shared with numerous
plugins/themes.
CoreState_v0 | |
|
Instances
Eq CoreState_v0 Source # | |
Defined in Clckwrks.Acid (==) :: CoreState_v0 -> CoreState_v0 -> Bool # (/=) :: CoreState_v0 -> CoreState_v0 -> Bool # | |
Data CoreState_v0 Source # | |
Defined in Clckwrks.Acid gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoreState_v0 -> c CoreState_v0 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoreState_v0 # toConstr :: CoreState_v0 -> Constr # dataTypeOf :: CoreState_v0 -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoreState_v0) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoreState_v0) # gmapT :: (forall b. Data b => b -> b) -> CoreState_v0 -> CoreState_v0 # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_v0 -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_v0 -> r # gmapQ :: (forall d. Data d => d -> u) -> CoreState_v0 -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CoreState_v0 -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 # | |
Show CoreState_v0 Source # | |
Defined in Clckwrks.Acid showsPrec :: Int -> CoreState_v0 -> ShowS # show :: CoreState_v0 -> String # showList :: [CoreState_v0] -> ShowS # | |
SafeCopy CoreState_v0 Source # | |
Defined in Clckwrks.Acid |
CoreState
holds some values that are required by the core
itself, or which are useful enough to be shared with numerous
plugins/themes.
CoreState | |
|
Instances
Eq CoreState Source # | |
Data CoreState Source # | |
Defined in Clckwrks.Acid gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoreState -> c CoreState # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoreState # toConstr :: CoreState -> Constr # dataTypeOf :: CoreState -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoreState) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoreState) # gmapT :: (forall b. Data b => b -> b) -> CoreState -> CoreState # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoreState -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoreState -> r # gmapQ :: (forall d. Data d => d -> u) -> CoreState -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CoreState -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState # | |
Show CoreState Source # | |
IsAcidic CoreState Source # | |
Defined in Clckwrks.Acid acidEvents :: [Event CoreState] # | |
Migrate CoreState Source # | |
Defined in Clckwrks.Acid type MigrateFrom CoreState :: Type # migrate :: MigrateFrom CoreState -> CoreState # | |
SafeCopy CoreState Source # | |
(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState Source # | |
Defined in Clckwrks.Monad | |
type MigrateFrom CoreState Source # | |
Defined in Clckwrks.Acid |
getLoginRedirect :: Query CoreState (Maybe Text) Source #
get the path that we should redirect to after login
setLoginRedirect :: Maybe Text -> Update CoreState () Source #
set the path that we should redirect to after login
Instances
QueryEvent GetUACCT Source # | |
Defined in Clckwrks.Acid | |
Method GetUACCT Source # | |
Defined in Clckwrks.Acid type MethodResult GetUACCT :: Type # type MethodState GetUACCT :: Type # | |
SafeCopy GetUACCT Source # | |
type MethodState GetUACCT Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetUACCT Source # | |
Defined in Clckwrks.Acid |
Instances
UpdateEvent SetUACCT Source # | |
Defined in Clckwrks.Acid | |
Method SetUACCT Source # | |
Defined in Clckwrks.Acid type MethodResult SetUACCT :: Type # type MethodState SetUACCT :: Type # | |
SafeCopy SetUACCT Source # | |
type MethodState SetUACCT Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetUACCT Source # | |
Defined in Clckwrks.Acid |
data GetRootRedirect Source #
Instances
QueryEvent GetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
Method GetRootRedirect Source # | |
Defined in Clckwrks.Acid type MethodResult GetRootRedirect :: Type # type MethodState GetRootRedirect :: Type # methodTag :: GetRootRedirect -> Tag # | |
SafeCopy GetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodState GetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetRootRedirect Source # | |
Defined in Clckwrks.Acid |
newtype SetRootRedirect Source #
Instances
UpdateEvent SetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
Method SetRootRedirect Source # | |
Defined in Clckwrks.Acid type MethodResult SetRootRedirect :: Type # type MethodState SetRootRedirect :: Type # methodTag :: SetRootRedirect -> Tag # | |
SafeCopy SetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodState SetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetRootRedirect Source # | |
Defined in Clckwrks.Acid |
data GetLoginRedirect Source #
Instances
QueryEvent GetLoginRedirect Source # | |
Defined in Clckwrks.Acid | |
Method GetLoginRedirect Source # | |
Defined in Clckwrks.Acid type MethodResult GetLoginRedirect :: Type # type MethodState GetLoginRedirect :: Type # methodTag :: GetLoginRedirect -> Tag # | |
SafeCopy GetLoginRedirect Source # | |
type MethodState GetLoginRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetLoginRedirect Source # | |
Defined in Clckwrks.Acid |
newtype SetLoginRedirect Source #
Instances
UpdateEvent SetLoginRedirect Source # | |
Defined in Clckwrks.Acid | |
Method SetLoginRedirect Source # | |
Defined in Clckwrks.Acid type MethodResult SetLoginRedirect :: Type # type MethodState SetLoginRedirect :: Type # methodTag :: SetLoginRedirect -> Tag # | |
SafeCopy SetLoginRedirect Source # | |
type MethodState SetLoginRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetLoginRedirect Source # | |
Defined in Clckwrks.Acid |
data GetSiteName Source #
Instances
QueryEvent GetSiteName Source # | |
Defined in Clckwrks.Acid | |
Method GetSiteName Source # | |
Defined in Clckwrks.Acid type MethodResult GetSiteName :: Type # type MethodState GetSiteName :: Type # methodTag :: GetSiteName -> Tag # | |
SafeCopy GetSiteName Source # | |
Defined in Clckwrks.Acid | |
type MethodState GetSiteName Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetSiteName Source # | |
Defined in Clckwrks.Acid |
newtype SetSiteName Source #
Instances
UpdateEvent SetSiteName Source # | |
Defined in Clckwrks.Acid | |
Method SetSiteName Source # | |
Defined in Clckwrks.Acid type MethodResult SetSiteName :: Type # type MethodState SetSiteName :: Type # methodTag :: SetSiteName -> Tag # | |
SafeCopy SetSiteName Source # | |
Defined in Clckwrks.Acid | |
type MethodState SetSiteName Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetSiteName Source # | |
Defined in Clckwrks.Acid |
data GetCoreState Source #
Instances
QueryEvent GetCoreState Source # | |
Defined in Clckwrks.Acid | |
Method GetCoreState Source # | |
Defined in Clckwrks.Acid type MethodResult GetCoreState :: Type # type MethodState GetCoreState :: Type # methodTag :: GetCoreState -> Tag # | |
SafeCopy GetCoreState Source # | |
Defined in Clckwrks.Acid | |
type MethodState GetCoreState Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetCoreState Source # | |
Defined in Clckwrks.Acid |
newtype SetCoreState Source #
Instances
UpdateEvent SetCoreState Source # | |
Defined in Clckwrks.Acid | |
Method SetCoreState Source # | |
Defined in Clckwrks.Acid type MethodResult SetCoreState :: Type # type MethodState SetCoreState :: Type # methodTag :: SetCoreState -> Tag # | |
SafeCopy SetCoreState Source # | |
Defined in Clckwrks.Acid | |
type MethodState SetCoreState Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetCoreState Source # | |
Defined in Clckwrks.Acid |
class GetAcidState m st where Source #
getAcidState :: m (AcidState st) Source #
Instances
GetAcidState m st => GetAcidState (XMLGenT m) st Source # | |
Defined in Clckwrks.Monad getAcidState :: XMLGenT m (AcidState st) Source # | |
(Functor m, Monad m) => GetAcidState (ClckT url m) ProfileDataState Source # | |
Defined in Clckwrks.Monad getAcidState :: ClckT url m (AcidState ProfileDataState) Source # | |
(Functor m, Monad m) => GetAcidState (ClckT url m) NavBarState Source # | |
Defined in Clckwrks.Monad getAcidState :: ClckT url m (AcidState NavBarState) Source # | |
(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState Source # | |
Defined in Clckwrks.Monad |