Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
getProfileData :: UserId -> Clck url ProfileData Source #
requiresRole_ :: Happstack m => (ClckURL -> [(Text, Maybe Text)] -> Text) -> Set Role -> url -> ClckT u m url Source #
Instances
Bounded Role Source # | |
Enum Role Source # | |
Eq Role Source # | |
Data Role Source # | |
Defined in Clckwrks.ProfileData.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Role -> c Role # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Role # dataTypeOf :: Role -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Role) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Role) # gmapT :: (forall b. Data b => b -> b) -> Role -> Role # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Role -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Role -> r # gmapQ :: (forall d. Data d => d -> u) -> Role -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Role -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Role -> m Role # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Role -> m Role # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Role -> m Role # | |
Ord Role Source # | |
Read Role Source # | |
Show Role Source # | |
Generic Role Source # | |
SafeCopy Role Source # | |
Migrate Role Source # | |
Defined in Clckwrks.ProfileData.Types type MigrateFrom Role :: Type # migrate :: MigrateFrom Role -> Role # | |
type Rep Role Source # | |
Defined in Clckwrks.ProfileData.Types type Rep Role = D1 (MetaData "Role" "Clckwrks.ProfileData.Types" "clckwrks-0.25.5-Eu5F0XbEKCT94Rx17ULuzi" False) ((C1 (MetaCons "Administrator" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Visitor" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Moderator" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Editor" PrefixI False) (U1 :: Type -> Type))) | |
type MigrateFrom Role Source # | |
Defined in Clckwrks.ProfileData.Types |