prosidyc-0.2.0.0: A DSL for processing Prosidy documents.
Copyright©2020 James Alexander Feldman-Crough
LicenseMPL-2.0
Maintaineralex@fldcr.com
Safe HaskellNone
LanguageHaskell2010

Prosidy.Compile.Strict

Description

 
Synopsis

Documentation

strict :: (Applicative f, HasMetadata i) => RuleT i e f a -> RuleT i e f a Source #

Ensure that all properties and settings on a node are expected, and throw an error when extraneous metadata is attached. This is extremely useful for catching typos.

The matchers blockTag, inlineTag, and literalTag already match strictly: wrapping them in this combinator is unneccessary.