Copyright | (c) Marcin Mrotek 2014 |
---|---|
License | BSD3 |
Maintainer | marcin.jan.mrotek@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Data.Vinyl.Utils.Proxy
Description
Create a dummy record parametrized by Proxy
, for the purpose of guiding code generation through pattern matching.
Documentation
class Record rs where Source #
Create a dummy record parametrized by Proxy
. The class is named Record
to signify that every possible type list is its instance.
Minimal complete definition
Methods
proxyRecord :: Rec Proxy rs Source #