Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- unstableMakeIsData :: Name -> Q [Dec]
- makeIsDataIndexed :: Name -> [(Name, Int)] -> Q [Dec]
- module PlutusTx.IsData.Class
Documentation
unstableMakeIsData :: Name -> Q [Dec] Source #
Generate a FromData
and a ToData
instance for a type. This may not be stable in the face of constructor additions,
renamings, etc. Use makeIsDataIndexed
if you need stability.
module PlutusTx.IsData.Class