threepenny-editors-0.5.2: Composable algebraic editors
Graphics.UI.Threepenny.Editors.Validation
data ValidationResult Source #
Constructors
Instances
Methods
showsPrec :: Int -> ValidationResult -> ShowS #
show :: ValidationResult -> String #
showList :: [ValidationResult] -> ShowS #
class Validable a where Source #
Minimal complete definition
validate
validate :: a -> ValidationResult Source #
isValid :: Validable a => a -> Bool Source #
updateIfValid :: Validable a => a -> a -> a Source #