Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data QState (mode :: MockedMode) Source #
State information for mocking Q functionality.
QState | |
|
ReifyInfo | |
|
loadNames :: [Name] -> ExpQ Source #
A helper for loading names for reifyInfo
Usage:
QState { reifyInfo = $(loadNames [''Int, ''Maybe]) , ... }
unmockedState :: QState NotMocked Source #
A shortcut for defining an unmocked Q.