File: operational.cabal

package info (click to toggle)
haskell-operational 0.2.3.5-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 136 kB
  • sloc: haskell: 443; sh: 78; makefile: 2
file content (73 lines) | stat: -rw-r--r-- 2,490 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Name:               operational
Version:            0.2.3.5
Synopsis:           Implementation of difficult monads made easy
                    with operational semantics.
Description:
  This library makes it easy to implement monads with tricky control flow.
  .
  This is useful for: writing web applications in a sequential style, programming games with a uniform interface for human and AI players and easy replay capababilities, implementing fast parser monads, designing monadic DSLs, etc.
  .
  See the project homepage <http://wiki.haskell.org/Operational> for a more detailed introduction and features.
  .
  Related packages:
  .
  * MonadPrompt — <http://hackage.haskell.org/package/MonadPrompt>
  .
  * free — <http://hackage.haskell.org/package/free>
  .
  * free-operational — <http://hackage.haskell.org/package/free-operational>

Category:           Control, Monads
License:            BSD3
License-file:       LICENSE
Author:             Heinrich Apfelmus
Maintainer:         Heinrich Apfelmus <apfelmus quantentunnel de>
Copyright:          (c) Heinrich Apfelmus 2010-2013
Homepage:           http://wiki.haskell.org/Operational
Stability:          Provisional

build-type:         Simple
cabal-version:      >= 1.10
extra-source-files: CHANGELOG.md
                    doc/*.md
                    doc/examples/*.hs
                    doc/examples/*.lhs
                    doc/examples/*.md

flag buildExamples
    description: Build example executables.
    default:     True
    manual:      True

source-repository head
    type:           git
    location:       git://github.com/HeinrichApfelmus/operational.git

Library
    default-language:   Haskell2010
    other-extensions:   ExistentialQuantification
                        FlexibleInstances
                        GADTSyntax
                        MultiParamTypeClasses
                        Rank2Types
                        ScopedTypeVariables
                        UndecidableInstances

    hs-source-dirs:     src
    exposed-modules:    Control.Monad.Operational

    build-depends:      base >= 4.4 && < 5, mtl >= 1.1 && < 2.3.0
    ghc-options:        -Wall

Executable operational-TicTacToe
    if !flag(buildExamples)
        buildable: False

    default-language:   Haskell2010
    other-extensions:   GADTs
                        Rank2Types

    hs-source-dirs:     doc/examples
    main-is:            TicTacToe.hs

    build-depends:      operational, base, mtl, random == 1.*