hydra-0.5.1: Type-aware transformations for data and programs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Langs.Tinkerpop.Validate

Description

Utilities for validating property graphs against property graph schemas

Documentation

validateEdge :: (t -> v -> Maybe String) -> (v -> String) -> Maybe (v -> Maybe VertexLabel) -> EdgeType t -> Edge v -> Maybe String Source #

validateElement :: (t -> v -> Maybe String) -> (v -> String) -> Maybe (v -> Maybe VertexLabel) -> ElementType t -> Element v -> Maybe String Source #

validateGraph :: Ord v => (t -> v -> Maybe String) -> (v -> String) -> GraphSchema t -> Graph v -> Maybe String Source #

validateVertex :: (t -> v -> Maybe String) -> (v -> String) -> VertexType t -> Vertex v -> Maybe String Source #

edgeError :: (v -> String) -> Edge v -> String -> String Source #