File: monadLib.cabal

package info (click to toggle)
haskell-monadlib 3.7.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 108 kB
  • sloc: haskell: 636; makefile: 4
file content (44 lines) | stat: -rw-r--r-- 916 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Name:           monadLib
Version:        3.7.3
License:        BSD3
License-file:   LICENSE
Author:         Iavor S. Diatchki
Maintainer:     diatchki@galois.com
Homepage:       http://wiki.github.com/yav/monadlib
Category:       Monads
Synopsis:       A collection of monad transformers.
Description:    A collection of monad transformers.
Build-type:     Simple
Cabal-version: >= 1.2
Extra-source-files:
  LICENSE,
  README,
  CHANGES

Flag base3
  Description: Build for compatability with base3
  Default:     False

Library
  hs-source-dirs: src
  Exposed-modules:
    MonadLib,
    MonadLib.Monads,
    MonadLib.Derive
  Extensions:
    CPP,
    MultiParamTypeClasses,
    FunctionalDependencies,
    Rank2Types,
    FlexibleInstances,
    UndecidableInstances

  if flag(base3)
    Build-depends: base < 4
    CPP-options: -DUSE_BASE3
  else
    Build-depends: base >= 4 && < 5

  GHC-options:    -O2 -Wall