repl-alliance-0.1.0.0: Currated set of plugins for REPL based development
Safe HaskellNone
LanguageGHC2021

AutoSplit.Pattern

Synopsis

Documentation

pattern SPLIT :: a Source #

Used to induce the incomplete patterns warning from GHC so that the plugin can modify the source code to contain all the missing patterns.

pattern FIELDS :: a -> a Source #

When applied to a record initialization with missing fields, the plugin will add the missing fields. It must be applied directly to the record initialization, i.e. no parens or use of $.