File: DeriveMain.hs

package info (click to toggle)
haskell-derive 2.5.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 460 kB
  • sloc: haskell: 3,686; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Needed for Haddock docs

-- | Use this module to create your own derive program, supporting custom derivations.
--   As an example:
--
-- @
--   import "Data.DeriveMain"        ('deriveMain')
--   import "Data.Derive.All"        ('derivations')
--   import MyProject.MyDerivation (myDerivation)
-- @
--
-- @
--   main :: IO
--   main = 'deriveMain' $ [myDerivation] ++ 'derivations'
-- @
module Data.DeriveMain(deriveMain) where

import Derive.Main
import Data.Derive.All(derivations)