eventuo11y-json-0.1.0.0: aeson-based rendering for eventuo11y
CopyrightCopyright 2022 Shea Levy.
LicenseApache-2.0
Maintainershea@shealevy.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Observe.Event.Render.JSON.DSL.Compile

Description

 
Synopsis

Documentation

compile :: Quote m => SelectorSpec -> m [Dec] Source #

Compile a SelectorSpec to type definitions, with a DefaultRenderSelectorJSON instance.

Assumes leaf types (i.e., those in SimpleType or a FieldConstructorSpec) are ToJSON, and that Injected selectors have a DefaultRenderSelectorJSON instance.