File: operational.cabal

package info (click to toggle)
haskell-operational 0.2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 132 kB
  • sloc: haskell: 441; sh: 78; makefile: 2
file content (57 lines) | stat: -rw-r--r-- 2,135 bytes parent folder | download
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
Name:               operational
Version:            0.2.3.2
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://haskell.org/haskellwiki/Operational> for a more detailed introduction and features.
  .
  Related packages: MonadPrompt <http://hackage.haskell.org/package/MonadPrompt>.

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://haskell.org/haskellwiki/Operational
Stability:          Provisional

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

flag buildExamples
    description: Build example executables.
    default:     True
 
source-repository head
    type:           git
    location:       git://github.com/HeinrichApfelmus/operational.git

Library
    hs-source-dirs:     src
    build-depends:      base == 4.* , mtl >= 1.1 && < 2.4.0
    ghc-options:        -Wall
    extensions:         GADTs, Rank2Types, ScopedTypeVariables,
                        UndecidableInstances,
                        MultiParamTypeClasses, FlexibleInstances
    exposed-modules:    Control.Monad.Operational

Executable operational-TicTacToe
    if flag(buildExamples)
        build-depends:  random == 1.*
        cpp-options: -DbuildExamples
    else
        buildable: False
    main-is:            doc/examples/TicTacToe.hs
    hs-source-dirs:     src, .
    other-modules:      Control.Monad.Operational