reflection-2.1.3: examples/reflection-examples.cabal
name: reflection-examples
version: 0.1
license: BSD3
license-file: LICENSE
author: Edward A. Kmett, Elliott Hird, Oleg Kiselyov and Chung-chieh Shan
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: experimental
homepage: http://github.com/ekmett/reflection
bug-reports: http://github.com/ekmett/reflection/issues
category: Data, Reflection, Dependent Types
synopsis: Examples of reflection
description: Examples of reflection.
copyright: 2009-2013 Edward A. Kmett,
2012 Elliott Hird,
2004 Oleg Kiselyov and Chung-chieh Shan
build-type: Simple
cabal-version: >= 1.10
tested-with: GHC == 7.0.4
, GHC == 7.2.2
, GHC == 7.4.2
, GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.1
flag examples
default: True
library
if !flag(examples)
buildable: False
exposed-modules: Constraints
Monoid
build-depends: base >= 4.8 && < 5,
constraints,
newtype,
reflection,
tagged
hs-source-dirs: .
ghc-options: -Wall
default-language: Haskell2010
executable reflection-from-json
if !flag(examples)
buildable: False
main-is: FromJSON.hs
build-depends: aeson,
base >= 4.8 && < 5,
lens,
lens-aeson,
reflection,
tagged,
text
hs-source-dirs: .
ghc-options: -Wall -threaded -rtsopts
default-language: Haskell2010
executable reflection-reader-like
if !flag(examples)
buildable: False
main-is: ReaderLike.hs
build-depends: base >= 4.8 && < 5,
reflection,
tagged
hs-source-dirs: .
ghc-options: -Wall -threaded -rtsopts
default-language: Haskell2010