haskell-src-meta-0.8.10: Parse source to template-haskell abstract syntax.
Copyright(c) Serokell 2022 Adam Bergmark 2022
LicenseBSD3
MaintainerAdam Bergmark <adam@bergmark.nl>
Stabilityexperimental
Portabilityportable (template-haskell)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Haskell.Meta.Extensions

Description

 
Synopsis

Documentation

toExtension :: KnownExtension -> Maybe Extension Source #

Returns Nothing when the extension is not supported by template-haskell.

fromExtension :: Extension -> Maybe KnownExtension Source #

Returns Nothing when the extension is not supported by haskell-src-exts.