dynamic-loader-0.0.1: lightweight loader of GHC-based modules or packages

Safe HaskellNone
LanguageHaskell98

System.Plugins.Criteria.LoadCriterion

Documentation

class LoadCriterion c t where Source #

Minimal complete definition

loadQualified

Associated Types

data Criterion c t Source #

type Effective c t :: * Source #

Instances

LoadCriterion (Typeable * t) t Source #

When the symbol's type is Typeable we load from the suffixed symbol and | try to resolve it.

LoadCriterion (Typeable * t, MonadIO m) t Source #

When the symbol's type is Typeable and we are in a monad that can | reliably fail, we load from the suffixed symbol and try to resolve it, | failing when the type does not correspond with the expectation.