forked from antalsz/hs-to-coq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhs-to-coq.cabal
156 lines (146 loc) · 6.64 KB
/
hs-to-coq.cabal
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
-- Initial hs-to-coq.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: hs-to-coq
version: 0.0.0.0
synopsis: Convert Haskell datatypes/functions to Coq
homepage: http://www.deepspec.org/research/Haskell/
license: MIT
license-file: LICENSE
author: Antal Spector-Zabusky
maintainer: antal.b.sz@gmail.com
copyright: Copyright © 2016 Antal Spector-Zabusky, University of Pennsylvania
category: Language
build-type: Simple
cabal-version: >=1.10
extra-source-files:
src/lib/HsToCoq/ConvertHaskell/Parameters/Parsers.y
src/include/*.h
tested-with: GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4 GHC == 8.10.1
source-repository head
type: git
location: https://github.com/antalsz/hs-to-coq
flag legacy-warnings
description: Reenable -Wincomplete-patterns for newer versions of GHC
manual: True
default: False
library
exposed-modules: HsToCoq.Util.GHC
, HsToCoq.Util.GHC.Module
, HsToCoq.Util.GHC.FastString
, HsToCoq.Util.GHC.DynFlags
, HsToCoq.Util.GHC.RdrName
, HsToCoq.Util.GHC.Name
, HsToCoq.Util.GHC.HsTypes
, HsToCoq.Util.GHC.HsExpr
, HsToCoq.Util.GHC.Exception
, HsToCoq.Util.GHC.Monad
, HsToCoq.Util.GHC.Deriving
, HsToCoq.Util.Coerce
, HsToCoq.Util.Generics
, HsToCoq.Util.Function
, HsToCoq.Util.Functor
, HsToCoq.Util.Foldable
, HsToCoq.Util.Traversable
, HsToCoq.Util.Monad
, HsToCoq.Util.List
, HsToCoq.Util.Containers
, HsToCoq.Util.Char
, HsToCoq.Util.Parsec
, HsToCoq.Util.TempFiles
, HsToCoq.Util.Messages
, HsToCoq.Util.FVs
, Control.Monad.Trans.Activatable.Internal
, Control.Monad.Trans.Activatable
, Control.Monad.Activatable.Class
, Control.Monad.Activatable
, Control.Monad.Trans.Counter
, Control.Monad.DefinedIdents
, Control.Monad.Trans.Parse
, Control.Monad.Trans.NewlinesParse
, Control.Monad.Parse.Class
, Control.Monad.Parse
, HsToCoq.PrettyPrint
, HsToCoq.Coq.Preamble
, HsToCoq.Coq.Gallina
, HsToCoq.Coq.Gallina.Util
, HsToCoq.Coq.Gallina.Orphans
, HsToCoq.Coq.Gallina.Rewrite
, HsToCoq.Coq.Gallina.UseTypeInBinders
, HsToCoq.Coq.Pretty
, HsToCoq.Coq.FreeVars
, HsToCoq.Coq.Subst
, HsToCoq.ConvertHaskell.Parameters.Edits
, HsToCoq.ConvertHaskell.Parameters.Parsers
, HsToCoq.ConvertHaskell.Parameters.Parsers.Lexing
, HsToCoq.ConvertHaskell.BuiltIn
, HsToCoq.ConvertHaskell.TypeInfo
, HsToCoq.ConvertHaskell.Monad
, HsToCoq.ConvertHaskell.InfixNames
, HsToCoq.ConvertHaskell.Variables
, HsToCoq.ConvertHaskell.Definitions
, HsToCoq.ConvertHaskell.Literals
, HsToCoq.ConvertHaskell.Type
, HsToCoq.ConvertHaskell.Expr
, HsToCoq.ConvertHaskell.Pattern
, HsToCoq.ConvertHaskell.Sigs
, HsToCoq.ConvertHaskell.Declarations.Notations
, HsToCoq.ConvertHaskell.Declarations.TypeSynonym
, HsToCoq.ConvertHaskell.Declarations.DataType
, HsToCoq.ConvertHaskell.Declarations.Class
, HsToCoq.ConvertHaskell.Declarations.Instances
, HsToCoq.ConvertHaskell.Declarations.TyCl
, HsToCoq.ConvertHaskell.Module
, HsToCoq.ConvertHaskell.Axiomatize
, HsToCoq.ConvertHaskell
, HsToCoq.ProcessFiles
, HsToCoq.CLI.FileTree
, HsToCoq.CLI.FileTree.Parser
, HsToCoq.CLI
, HsToCoq.Plugin
build-tools: happy == 1.19.*
other-extensions: TypeOperators, TupleSections, LambdaCase, MultiWayIf, EmptyCase, RecordWildCards, TypeApplications, ScopedTypeVariables, OverloadedLists, OverloadedStrings
, RankNTypes, ConstraintKinds
, MultiParamTypeClasses, FunctionalDependencies, FlexibleContexts, InstanceSigs
, TypeSynonymInstances, FlexibleInstances, UndecidableInstances
, DeriveGeneric, DeriveDataTypeable, StandaloneDeriving, GeneralizedNewtypeDeriving
, PatternSynonyms, ViewPatterns
, TemplateHaskell
, CPP
build-depends: base >=4.11 && < 4.15
, template-haskell >=2.13
, ghc >=8.4
, ghc-boot
, ghc-paths
, transformers
, mtl
, array
, lens
, containers
, syb
, text
, directory
, filepath
, wl-pprint-text
, parsec
, indents
, optparse-applicative
, yaml
-- These are actually not used directly by hs-to-coq, but work around a
-- bug(?) in GHC-8.4 that no longer loads other packages if there is a GHC
-- environment file
build-depends:
test-framework >= 0.3.3,
test-framework-quickcheck2 >= 0.2.9,
test-framework-hunit
hs-source-dirs: src/lib
include-dirs: src/include
default-language: Haskell2010
ghc-options: -Wall -fno-warn-name-shadowing
if !flag(legacy-warnings) && impl(ghc >= 8.6)
ghc-options: -Wno-unused-imports
executable hs-to-coq
main-is: Main.hs
build-depends: base, hs-to-coq
hs-source-dirs: src/exe
default-language: Haskell2010
ghc-options: -Wall -fno-warn-name-shadowing