packages feed

checked-exceptions-0.1.0.0: lib/Control/Monad/CheckedExcept/Plugin.hs

{-# LANGUAGE CPP #-}

module Control.Monad.CheckedExcept.Plugin (plugin) where

import GHC.Plugins
import Control.Monad.CheckedExcept.Plugin.Bind

-- | help resolve ambiguous type variables resulting from the
-- very general type of Control.Monad.CheckedExcept.QualifiedDo.(>>=)
plugin :: Plugin
plugin = defaultPlugin
    { tcPlugin = bindPlugin
#if __GLASGOW_HASKELL__ >= 806
    , pluginRecompile  = purePlugin
#endif
    }