summaryrefslogtreecommitdiff
path: root/testdata/Builtins.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-03 19:19:29 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-03 19:19:29 +0200
commitd853a6c0f5e027c5e98d96ddd29c21901dd67039 (patch)
tree5acac233046580343d410f75a815d362c67ecb57 /testdata/Builtins.out
parentf468a49a43193caffe92cdd48a52a699880e14ef (diff)
better show for let expressions; fix a bug in type class desugaring
Diffstat (limited to 'testdata/Builtins.out')
-rw-r--r--testdata/Builtins.out40
1 files changed, 20 insertions, 20 deletions
diff --git a/testdata/Builtins.out b/testdata/Builtins.out
index 7087ba31..a89bcaee 100644
--- a/testdata/Builtins.out
+++ b/testdata/Builtins.out
@@ -177,15 +177,15 @@ zero :: forall a . Component a => a
177zero 177zero
178 = \ @a @_ -> match'Int 178 = \ @a @_ -> match'Int
179 (\_ -> _) 179 (\_ -> _)
180 (_rhs \(b := _rhs (fromInt 0 :: Int)) -> b) 180 (_rhs let b = _rhs (fromInt 0 :: Int) in b)
181 a 181 a
182 (match'Word 182 (match'Word
183 (\_ -> _) 183 (\_ -> _)
184 (_rhs \(c := _rhs (fromInt 0 :: Word)) -> c) 184 (_rhs let c = _rhs (fromInt 0 :: Word) in c)
185 a 185 a
186 (match'Float 186 (match'Float
187 (\_ -> _) 187 (\_ -> _)
188 (_rhs \(d := _rhs 0.0) -> d) 188 (_rhs let d = _rhs 0.0 in d)
189 a 189 a
190 (match'VecS 190 (match'VecS
191 (\_ -> _) 191 (\_ -> _)
@@ -199,13 +199,13 @@ zero
199 (_rhs undefined) 199 (_rhs undefined)
200 (\(h :: _) -> case'Nat 200 (\(h :: _) -> case'Nat
201 (\_ -> _) 201 (\_ -> _)
202 (_rhs \(i := _rhs (V2 0.0 0.0)) -> i) 202 (_rhs let i = _rhs (V2 0.0 0.0) in i)
203 (\(j :: _) -> case'Nat 203 (\(j :: _) -> case'Nat
204 (\_ -> _) 204 (\_ -> _)
205 (_rhs \(k := _rhs (V3 0.0 0.0 0.0)) -> k) 205 (_rhs let k = _rhs (V3 0.0 0.0 0.0) in k)
206 (\(l :: _) -> case'Nat 206 (\(l :: _) -> case'Nat
207 (\_ -> _) 207 (\_ -> _)
208 (_rhs \(m := _rhs (V4 0.0 0.0 0.0 0.0)) -> m) 208 (_rhs let m = _rhs (V4 0.0 0.0 0.0 0.0) in m)
209 (\_ -> _rhs undefined) 209 (\_ -> _rhs undefined)
210 l) 210 l)
211 j) 211 j)
@@ -223,13 +223,13 @@ zero
223 (_rhs undefined) 223 (_rhs undefined)
224 (\(o :: _) -> case'Nat 224 (\(o :: _) -> case'Nat
225 (\_ -> _) 225 (\_ -> _)
226 (_rhs \(p := _rhs (V2 False False)) -> p) 226 (_rhs let p = _rhs (V2 False False) in p)
227 (\(q :: _) -> case'Nat 227 (\(q :: _) -> case'Nat
228 (\_ -> _) 228 (\_ -> _)
229 (_rhs \(r := _rhs (V3 False False False)) -> r) 229 (_rhs let r = _rhs (V3 False False False) in r)
230 (\(s :: _) -> case'Nat 230 (\(s :: _) -> case'Nat
231 (\_ -> _) 231 (\_ -> _)
232 (_rhs \(t := _rhs (V4 False False False False)) -> t) 232 (_rhs let t = _rhs (V4 False False False False) in t)
233 (\_ -> _rhs undefined) 233 (\_ -> _rhs undefined)
234 s) 234 s)
235 q) 235 q)
@@ -239,21 +239,21 @@ zero
239 e 239 e
240 (_rhs undefined))) 240 (_rhs undefined)))
241 a 241 a
242 (match'Bool (\_ -> _) (_rhs \(u := _rhs False) -> u) a (_rhs undefined))))) 242 (match'Bool (\_ -> _) (_rhs let u = _rhs False in u) a (_rhs undefined)))))
243 243
244one :: forall a . Component a => a 244one :: forall a . Component a => a
245one 245one
246 = \ @a @_ -> match'Int 246 = \ @a @_ -> match'Int
247 (\_ -> _) 247 (\_ -> _)
248 (_rhs \(b := _rhs (fromInt 1 :: Int)) -> b) 248 (_rhs let b = _rhs (fromInt 1 :: Int) in b)
249 a 249 a
250 (match'Word 250 (match'Word
251 (\_ -> _) 251 (\_ -> _)
252 (_rhs \(c := _rhs (fromInt 1 :: Word)) -> c) 252 (_rhs let c = _rhs (fromInt 1 :: Word) in c)
253 a 253 a
254 (match'Float 254 (match'Float
255 (\_ -> _) 255 (\_ -> _)
256 (_rhs \(d := _rhs 1.0) -> d) 256 (_rhs let d = _rhs 1.0 in d)
257 a 257 a
258 (match'VecS 258 (match'VecS
259 (\_ -> _) 259 (\_ -> _)
@@ -267,13 +267,13 @@ one
267 (_rhs undefined) 267 (_rhs undefined)
268 (\(h :: _) -> case'Nat 268 (\(h :: _) -> case'Nat
269 (\_ -> _) 269 (\_ -> _)
270 (_rhs \(i := _rhs (V2 1.0 1.0)) -> i) 270 (_rhs let i = _rhs (V2 1.0 1.0) in i)
271 (\(j :: _) -> case'Nat 271 (\(j :: _) -> case'Nat
272 (\_ -> _) 272 (\_ -> _)
273 (_rhs \(k := _rhs (V3 1.0 1.0 1.0)) -> k) 273 (_rhs let k = _rhs (V3 1.0 1.0 1.0) in k)
274 (\(l :: _) -> case'Nat 274 (\(l :: _) -> case'Nat
275 (\_ -> _) 275 (\_ -> _)
276 (_rhs \(m := _rhs (V4 1.0 1.0 1.0 1.0)) -> m) 276 (_rhs let m = _rhs (V4 1.0 1.0 1.0 1.0) in m)
277 (\_ -> _rhs undefined) 277 (\_ -> _rhs undefined)
278 l) 278 l)
279 j) 279 j)
@@ -291,13 +291,13 @@ one
291 (_rhs undefined) 291 (_rhs undefined)
292 (\(o :: _) -> case'Nat 292 (\(o :: _) -> case'Nat
293 (\_ -> _) 293 (\_ -> _)
294 (_rhs \(p := _rhs (V2 True True)) -> p) 294 (_rhs let p = _rhs (V2 True True) in p)
295 (\(q :: _) -> case'Nat 295 (\(q :: _) -> case'Nat
296 (\_ -> _) 296 (\_ -> _)
297 (_rhs \(r := _rhs (V3 True True True)) -> r) 297 (_rhs let r = _rhs (V3 True True True) in r)
298 (\(s :: _) -> case'Nat 298 (\(s :: _) -> case'Nat
299 (\_ -> _) 299 (\_ -> _)
300 (_rhs \(t := _rhs (V4 True True True True)) -> t) 300 (_rhs let t = _rhs (V4 True True True True) in t)
301 (\_ -> _rhs undefined) 301 (\_ -> _rhs undefined)
302 s) 302 s)
303 q) 303 q)
@@ -307,7 +307,7 @@ one
307 e 307 e
308 (_rhs undefined))) 308 (_rhs undefined)))
309 a 309 a
310 (match'Bool (\_ -> _) (_rhs \(u := _rhs True) -> u) a (_rhs undefined))))) 310 (match'Bool (\_ -> _) (_rhs let u = _rhs True in u) a (_rhs undefined)))))
311 311
312'Integral :: Type -> Type 312'Integral :: Type -> Type
313'Integral 313'Integral