recollections-0.1.1.0: test/Nested/Inner.hs
{-# LANGUAGE TemplateHaskell #-}
module Nested.Inner
( Tag(..)
, Collection(..)
, indices
, distribute
, index
, tabulate
) where
import Data.Recollections.TH
import GHC.Generics
data Tag = Foo | Bar | Baz
deriving (Eq, Ord, Show)
mkCollection ''Tag
mkIndices ''Tag
mkDistribute ''Tag
mkIndex ''Tag
mkTabulate ''Tag
mkBounded ''Tag
mkEnum ''Tag