summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2017-07-30 15:35:11 +0200
committerCsaba Hruska <csaba.hruska@gmail.com>2017-07-30 15:35:22 +0200
commitf4071a0e6ff2b5af1c94da6046d2e566b420c587 (patch)
tree45d679ce194c87cbdfe0e645bff9c795e887206c
parent150997e7157f7157bc7a9f653cbc0f30bff23727 (diff)
update to stackage lts 9.0
-rw-r--r--lambdacube-compiler.cabal50
-rw-r--r--src/LambdaCube/Compiler/Utils.hs3
-rw-r--r--stack.yaml11
3 files changed, 34 insertions, 30 deletions
diff --git a/lambdacube-compiler.cabal b/lambdacube-compiler.cabal
index 31b071b3..731f5a4e 100644
--- a/lambdacube-compiler.cabal
+++ b/lambdacube-compiler.cabal
@@ -93,20 +93,20 @@ library
93 93
94 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository 94 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository
95 build-depends: 95 build-depends:
96 aeson >=0.9 && <0.12, 96 aeson >=1.1 && <1.2,
97 base >=4.7 && <4.10, 97 base >=4.9 && <5,
98 semigroups, 98 semigroups,
99 containers >=0.5 && <0.6, 99 containers >=0.5 && <0.6,
100 directory >=1.2 && <1.3, 100 directory >=1.3 && <1.4,
101 exceptions >= 0.8 && <0.9, 101 exceptions >= 0.8 && <0.9,
102 filepath >=1.4 && <1.5, 102 filepath >=1.4 && <1.5,
103 mtl >=2.2 && <2.3, 103 mtl >=2.2 && <2.3,
104 megaparsec >=5.1 && <5.2, 104 megaparsec >=5.3 && <5.4,
105 ansi-wl-pprint >=0.6 && <0.7, 105 ansi-wl-pprint >=0.6 && <0.7,
106 pretty-show >= 1.6.9, 106 pretty-show >= 1.6.9,
107 text >= 1.2 && <1.3, 107 text >= 1.2 && <1.3,
108 lambdacube-ir == 0.3.*, 108 lambdacube-ir == 0.3.*,
109 vector >= 0.11 && <0.12 109 vector >= 0.12 && <0.13
110 110
111 hs-source-dirs: src 111 hs-source-dirs: src
112 default-language: Haskell2010 112 default-language: Haskell2010
@@ -126,10 +126,10 @@ executable lc
126 126
127 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository 127 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository
128 build-depends: 128 build-depends:
129 base < 4.10, 129 base < 5,
130 lambdacube-compiler, 130 lambdacube-compiler,
131 optparse-applicative >=0.12 && <0.14, 131 optparse-applicative >=0.12 && <0.14,
132 aeson >=0.9 && <0.12, 132 aeson >=1.1 && <1.2,
133 bytestring == 0.10.*, 133 bytestring == 0.10.*,
134 filepath >=1.4 && <1.5 134 filepath >=1.4 && <1.5
135 135
@@ -149,11 +149,11 @@ executable lambdacube-compiler-unit-tests
149 149
150 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository 150 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository
151 build-depends: 151 build-depends:
152 base < 4.10, 152 base < 5,
153 semigroups, 153 semigroups,
154 containers >=0.5 && <0.6, 154 containers >=0.5 && <0.6,
155 lambdacube-compiler, 155 lambdacube-compiler,
156 megaparsec >=5.1 && <5.2, 156 megaparsec >=5.3 && <5.4,
157 QuickCheck >= 2.8.2 && <2.10, 157 QuickCheck >= 2.8.2 && <2.10,
158 tasty >= 0.11 && <0.12, 158 tasty >= 0.11 && <0.12,
159 tasty-quickcheck >=0.8 && <0.9 159 tasty-quickcheck >=0.8 && <0.9
@@ -175,26 +175,26 @@ executable lambdacube-compiler-test-suite
175 175
176 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository 176 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository
177 build-depends: 177 build-depends:
178 aeson >=0.9 && <0.12, 178 aeson >=1.1 && <1.2,
179 async >= 2.0 && <2.2, 179 async >= 2.0 && <2.2,
180 base < 4.10, 180 base < 5,
181 semigroups, 181 semigroups,
182 containers >=0.5 && <0.6, 182 containers >=0.5 && <0.6,
183 deepseq >=1.4 && <1.5, 183 deepseq >=1.4 && <1.5,
184 directory >=1.2 && <1.3, 184 directory >=1.3 && <1.4,
185 exceptions >= 0.8 && <0.9, 185 exceptions >= 0.8 && <0.9,
186 filepath >=1.4 && <1.5, 186 filepath >=1.4 && <1.5,
187 lambdacube-compiler, 187 lambdacube-compiler,
188 mtl >=2.2 && <2.3, 188 mtl >=2.2 && <2.3,
189 monad-control >= 1.0 && <1.1, 189 monad-control >= 1.0 && <1.1,
190 optparse-applicative >=0.12 && <0.14, 190 optparse-applicative >=0.12 && <0.14,
191 megaparsec >=5.1 && <5.2, 191 megaparsec >=5.3 && <5.4,
192 ansi-wl-pprint >=0.6 && <0.7, 192 ansi-wl-pprint >=0.6 && <0.7,
193 patience >= 0.1 && < 0.2, 193 patience >= 0.1 && < 0.2,
194 text >= 1.2 && <1.3, 194 text >= 1.2 && <1.3,
195 time >= 1.5 && <1.7, 195 time >= 1.5 && <1.7,
196 lambdacube-ir == 0.3.*, 196 lambdacube-ir == 0.3.*,
197 vector >= 0.11 && <0.12 197 vector >= 0.12 && <0.13
198 198
199executable lambdacube-compiler-performance-report 199executable lambdacube-compiler-performance-report
200 hs-source-dirs: test 200 hs-source-dirs: test
@@ -208,8 +208,8 @@ executable lambdacube-compiler-performance-report
208 208
209 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository 209 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository
210 build-depends: 210 build-depends:
211 base < 4.10, 211 base < 5,
212 directory >=1.2 && <1.3, 212 directory >=1.3 && <1.4,
213 filepath >=1.4 && <1.5, 213 filepath >=1.4 && <1.5,
214 containers >=0.5 && <0.6, 214 containers >=0.5 && <0.6,
215 optparse-applicative >=0.12 && <0.14 215 optparse-applicative >=0.12 && <0.14
@@ -228,7 +228,7 @@ executable lambdacube-backend-test-server
228 228
229 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository 229 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository
230 build-depends: 230 build-depends:
231 base < 4.10, 231 base < 5,
232 semigroups, 232 semigroups,
233 containers >=0.5 && <0.6, 233 containers >=0.5 && <0.6,
234 text >= 1.2 && <1.3, 234 text >= 1.2 && <1.3,
@@ -236,15 +236,15 @@ executable lambdacube-backend-test-server
236 lambdacube-ir == 0.3.*, 236 lambdacube-ir == 0.3.*,
237 pretty-show >= 1.6.9, 237 pretty-show >= 1.6.9,
238 optparse-applicative >=0.12 && <0.14, 238 optparse-applicative >=0.12 && <0.14,
239 aeson >=0.9 && <0.12, 239 aeson >=1.1 && <1.2,
240 bytestring == 0.10.*, 240 bytestring == 0.10.*,
241 filepath >=1.4 && <1.5, 241 filepath >=1.4 && <1.5,
242 directory >=1.2 && <1.3, 242 directory >=1.3 && <1.4,
243 websockets >= 0.9.6.1, 243 websockets >= 0.9.6.1,
244 JuicyPixels >=3.2.7 && <3.3, 244 JuicyPixels >=3.2.7 && <3.3,
245 vect >= 0.4.7, 245 vect >= 0.4.7,
246 base64-bytestring >= 1.0.0.1, 246 base64-bytestring >= 1.0.0.1,
247 vector >= 0.11 && <0.12, 247 vector >= 0.12 && <0.13,
248 process >= 1.2 248 process >= 1.2
249 249
250executable lambdacube-compiler-coverage-test-suite 250executable lambdacube-compiler-coverage-test-suite
@@ -264,23 +264,23 @@ executable lambdacube-compiler-coverage-test-suite
264 264
265 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository 265 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository
266 build-depends: 266 build-depends:
267 aeson >=0.9 && <0.12, 267 aeson >=1.1 && <1.2,
268 async >= 2.0 && <2.2, 268 async >= 2.0 && <2.2,
269 base < 4.10, 269 base < 5,
270 semigroups, 270 semigroups,
271 containers >=0.5 && <0.6, 271 containers >=0.5 && <0.6,
272 deepseq >=1.4 && <1.5, 272 deepseq >=1.4 && <1.5,
273 directory >=1.2 && <1.3, 273 directory >=1.3 && <1.4,
274 exceptions >= 0.8 && <0.9, 274 exceptions >= 0.8 && <0.9,
275 filepath >=1.4 && <1.5, 275 filepath >=1.4 && <1.5,
276 lambdacube-ir == 0.3.*, 276 lambdacube-ir == 0.3.*,
277 mtl >=2.2 && <2.3, 277 mtl >=2.2 && <2.3,
278 monad-control >= 1.0 && <1.1, 278 monad-control >= 1.0 && <1.1,
279 optparse-applicative >=0.12 && <0.14, 279 optparse-applicative >=0.12 && <0.14,
280 megaparsec >=5.1 && <5.2, 280 megaparsec >=5.3 && <5.4,
281 ansi-wl-pprint >=0.6 && <0.7, 281 ansi-wl-pprint >=0.6 && <0.7,
282 pretty-show >= 1.6.9, 282 pretty-show >= 1.6.9,
283 patience >= 0.1 && < 0.2, 283 patience >= 0.1 && < 0.2,
284 text >= 1.2 && <1.3, 284 text >= 1.2 && <1.3,
285 time >= 1.5 && <1.7, 285 time >= 1.5 && <1.7,
286 vector >= 0.11 && <0.12 286 vector >= 0.12 && <0.13
diff --git a/src/LambdaCube/Compiler/Utils.hs b/src/LambdaCube/Compiler/Utils.hs
index 02a90ee7..2a86f80b 100644
--- a/src/LambdaCube/Compiler/Utils.hs
+++ b/src/LambdaCube/Compiler/Utils.hs
@@ -121,7 +121,7 @@ readFileIfExists fname = do
121instance MonadMask m => MonadMask (ExceptT e m) where 121instance MonadMask m => MonadMask (ExceptT e m) where
122 mask f = ExceptT $ mask $ \u -> runExceptT $ f (mapExceptT u) 122 mask f = ExceptT $ mask $ \u -> runExceptT $ f (mapExceptT u)
123 uninterruptibleMask = error "not implemented: uninterruptibleMask for ExcpetT" 123 uninterruptibleMask = error "not implemented: uninterruptibleMask for ExcpetT"
124-} 124
125 125
126instance (Monoid w, P.MonadParsec e s m) => P.MonadParsec e s (RWST r w st m) where 126instance (Monoid w, P.MonadParsec e s m) => P.MonadParsec e s (RWST r w st m) where
127 failure a b = lift . P.failure a b 127 failure a b = lift . P.failure a b
@@ -136,3 +136,4 @@ instance (Monoid w, P.MonadParsec e s m) => P.MonadParsec e s (RWST r w st m) wh
136 getParserState = lift P.getParserState 136 getParserState = lift P.getParserState
137 updateParserState f = lift $ P.updateParserState f 137 updateParserState f = lift $ P.updateParserState f
138 138
139-} \ No newline at end of file
diff --git a/stack.yaml b/stack.yaml
index 0b05a787..5ab1aa33 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,9 +1,12 @@
1resolver: lts-6.25 1resolver: lts-9.0
2packages: 2packages:
3- '../lambdacube-ir/lambdacube-ir.haskell'
4- '.' 3- '.'
4- location:
5 git: git@github.com:lambdacube3d/lambdacube-ir.git
6 commit: a0bf64b83dd218d1ea29823749dcfa8a6ee959a9
7 subdirs:
8 - lambdacube-ir.haskell
5extra-deps: 9extra-deps:
6- megaparsec-5.1.0 10 - vect-0.4.7
7- pretty-compact-1.0
8flags: {} 11flags: {}
9extra-package-dbs: [] 12extra-package-dbs: []