Copyright | (c) 2016, Peter Trško |
---|---|
License | BSD3 |
Maintainer | peter.trsko@gmail.com |
Stability | experimental |
Portability | NoImplicitPrelude |
Safe Haskell | None |
Language | Haskell2010 |
Derive instances of IsLabel
magic class for OverloadedLabels.
If you are using GHC, then you should use OverloadedLabels language extension and not this module.
Documentation
labelNoSig :: String -> DecsQ Source
labelsNoSig :: [String] -> DecsQ Source
Same as labelsNoSig
, but defines multiple overloaded labels at once.