Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- debug :: Bool
- data TrySyncResult entity
- = Missing [entity]
- | Done
- | PreviouslyDone
- | NonFatalError
- data Sync m entity = Sync {
- trySync :: entity -> m (TrySyncResult entity)
- transformSync :: (forall a. m a -> n a) -> Sync m h -> Sync n h
- data Progress m h = Progress {}
- transformProgress :: (forall a. m a -> n a) -> Progress m h -> Progress n h
- sync :: forall m h. (Monad m, Show h) => Sync m h -> Progress m h -> [h] -> m ()
- sync' :: forall m h. (Monad m, Show h) => Sync m h -> Progress m h -> [h] -> m ()
Documentation
data TrySyncResult entity Source #
Missing [entity] | |
Done | |
PreviouslyDone | |
NonFatalError |
Instances
Show entity => Show (TrySyncResult entity) Source # | |
Defined in U.Codebase.Sync showsPrec :: Int -> TrySyncResult entity -> ShowS # show :: TrySyncResult entity -> String # showList :: [TrySyncResult entity] -> ShowS # |
transformSync :: (forall a. m a -> n a) -> Sync m h -> Sync n h Source #
transformProgress :: (forall a. m a -> n a) -> Progress m h -> Progress n h Source #