Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Entry project branch causal = Entry {
- project :: project
- branch :: branch
- time :: UTCTime
- fromRootCausalHash :: Maybe causal
- toRootCausalHash :: causal
- reason :: Text
- project_ :: Lens (Entry project branch causal) (Entry project' branch causal) project project'
- branch_ :: Lens (Entry project branch causal) (Entry project branch' causal) branch branch'
- projectAndBranch_ :: Lens (Entry project branch causal) (Entry project' branch' causal) (project, branch) (project', branch')
Documentation
data Entry project branch causal Source #
Entry | |
|
Instances
Foldable (Entry project branch) Source # | |
Defined in U.Codebase.Sqlite.ProjectReflog fold :: Monoid m => Entry project branch m -> m # foldMap :: Monoid m => (a -> m) -> Entry project branch a -> m # foldMap' :: Monoid m => (a -> m) -> Entry project branch a -> m # foldr :: (a -> b -> b) -> b -> Entry project branch a -> b # foldr' :: (a -> b -> b) -> b -> Entry project branch a -> b # foldl :: (b -> a -> b) -> b -> Entry project branch a -> b # foldl' :: (b -> a -> b) -> b -> Entry project branch a -> b # foldr1 :: (a -> a -> a) -> Entry project branch a -> a # foldl1 :: (a -> a -> a) -> Entry project branch a -> a # toList :: Entry project branch a -> [a] # null :: Entry project branch a -> Bool # length :: Entry project branch a -> Int # elem :: Eq a => a -> Entry project branch a -> Bool # maximum :: Ord a => Entry project branch a -> a # minimum :: Ord a => Entry project branch a -> a # | |
Traversable (Entry project branch) Source # | |
Defined in U.Codebase.Sqlite.ProjectReflog traverse :: Applicative f => (a -> f b) -> Entry project branch a -> f (Entry project branch b) # sequenceA :: Applicative f => Entry project branch (f a) -> f (Entry project branch a) # mapM :: Monad m => (a -> m b) -> Entry project branch a -> m (Entry project branch b) # sequence :: Monad m => Entry project branch (m a) -> m (Entry project branch a) # | |
Functor (Entry project branch) Source # | |
(Show project, Show branch, Show causal) => Show (Entry project branch causal) Source # | |
(Eq project, Eq branch, Eq causal) => Eq (Entry project branch causal) Source # | |
FromRow (Entry ProjectId ProjectBranchId CausalHashId) Source # | |
Defined in U.Codebase.Sqlite.ProjectReflog | |
ToRow (Entry ProjectId ProjectBranchId CausalHashId) Source # | |
Defined in U.Codebase.Sqlite.ProjectReflog toRow :: Entry ProjectId ProjectBranchId CausalHashId -> [SQLData] # |
project_ :: Lens (Entry project branch causal) (Entry project' branch causal) project project' Source #