Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
embedded :: Spec schema a -> schema -> ([schema], [schema]) Source #
Return a schema's immediate subschemas.
The first list is subschemas validating the same level of the document,
the second list is subschemas validating lower levels (see
Fail
for a full explanation).