-- | GHC plugin to desugar ! into do-notation
--
-- For more information, please refer to the README.
module MonadicBang (plugin) where

import GHC.Plugins
import MonadicBang.Internal

plugin :: Plugin
plugin :: Plugin
plugin = Plugin
defaultPlugin
  { parsedResultAction :: [CommandLineOption]
-> ModSummary -> ParsedResult -> Hsc ParsedResult
parsedResultAction = [CommandLineOption]
-> ModSummary -> ParsedResult -> Hsc ParsedResult
replaceBangs
  , pluginRecompile :: [CommandLineOption] -> IO PluginRecompile
pluginRecompile = [CommandLineOption] -> IO PluginRecompile
purePlugin
  }