validity-containers-0.1.0.2: src/Data/Validity/Tree.hs
module Data.Validity.Tree where
import Data.Validity
import Data.Tree
-- | A 'Tree' of things is valid if all the things in the 'Tree' are valid.
instance Validity a => Validity (Tree a) where
isValid = all isValid