Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
A type that holds aggregated validation failures.
ValidCtx a | A value that is assumed to be valid. |
DisputedCtx [f] (Map [Name] [f]) a | A value that has failures but can continue to be validated. |
RefutedCtx [f] (Map [Name] [f]) | A value that has failures and cannot be validated further. |
aggregateFailures :: VCtx f a -> VCtx f b -> VCtx f a Source #
Takes the failures from the second parameter and adds them to the first.