| Copyright | (C) 2015-2017 Ryan Scott | 
|---|---|
| License | BSD-style (see the file LICENSE) | 
| Maintainer | Ryan Scott | 
| Portability | Template Haskell | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Data.Ix.Deriving.Internal
Contents
Description
Exports functions to mechanically derive Ix instances.
Note: this is an internal module, and as such, the API presented here is not guaranteed to be stable, even between minor releases of this library.
Ix
deriveIx :: Name -> Q [Dec] Source #
Generates a Ix instance declaration for the given data type or data
 family instance.
makeRange :: Name -> Q Exp Source #
Generates a lambda expression which behaves like range (without
 requiring an Ix instance).