diff options
Diffstat (limited to 'testdata/Internals.out')
-rw-r--r-- | testdata/Internals.out | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/testdata/Internals.out b/testdata/Internals.out index 22ff0f64..6b92c14b 100644 --- a/testdata/Internals.out +++ b/testdata/Internals.out | |||
@@ -119,49 +119,49 @@ fromInt :: forall a . Num a => Int -> a | |||
119 | fromInt | 119 | fromInt |
120 | = \ @a @_ -> match'Int | 120 | = \ @a @_ -> match'Int |
121 | (\_ -> _) | 121 | (\_ -> _) |
122 | (_rhs \(b := _rhs \(c :: _) -> c) -> b) | 122 | (_rhs let b = _rhs \(c :: _) -> c in b) |
123 | a | 123 | a |
124 | (match'Word | 124 | (match'Word |
125 | (\_ -> _) | 125 | (\_ -> _) |
126 | (_rhs \(d := _rhs primIntToWord) -> d) | 126 | (_rhs let d = _rhs primIntToWord in d) |
127 | a | 127 | a |
128 | (match'Float | 128 | (match'Float |
129 | (\_ -> _) | 129 | (\_ -> _) |
130 | (_rhs \(e := _rhs primIntToFloat) -> e) | 130 | (_rhs let e = _rhs primIntToFloat in e) |
131 | a | 131 | a |
132 | (match'Nat (\_ -> _) (_rhs \(f := _rhs primIntToNat) -> f) a (_rhs undefined)))) | 132 | (match'Nat (\_ -> _) (_rhs let f = _rhs primIntToNat in f) a (_rhs undefined)))) |
133 | 133 | ||
134 | compare :: forall a . Num a => a -> a -> Ordering | 134 | compare :: forall a . Num a => a -> a -> Ordering |
135 | compare | 135 | compare |
136 | = \ @a @_ -> match'Int | 136 | = \ @a @_ -> match'Int |
137 | (\_ -> _) | 137 | (\_ -> _) |
138 | (_rhs \(b := _rhs primCompareInt) -> b) | 138 | (_rhs let b = _rhs primCompareInt in b) |
139 | a | 139 | a |
140 | (match'Word | 140 | (match'Word |
141 | (\_ -> _) | 141 | (\_ -> _) |
142 | (_rhs \(c := _rhs primCompareWord) -> c) | 142 | (_rhs let c = _rhs primCompareWord in c) |
143 | a | 143 | a |
144 | (match'Float | 144 | (match'Float |
145 | (\_ -> _) | 145 | (\_ -> _) |
146 | (_rhs \(d := _rhs primCompareFloat) -> d) | 146 | (_rhs let d = _rhs primCompareFloat in d) |
147 | a | 147 | a |
148 | (match'Nat (\_ -> _) (_rhs \(e := _rhs undefined) -> e) a (_rhs undefined)))) | 148 | (match'Nat (\_ -> _) (_rhs let e = _rhs undefined in e) a (_rhs undefined)))) |
149 | 149 | ||
150 | negate :: forall a . Num a => a -> a | 150 | negate :: forall a . Num a => a -> a |
151 | negate | 151 | negate |
152 | = \ @a @_ -> match'Int | 152 | = \ @a @_ -> match'Int |
153 | (\_ -> _) | 153 | (\_ -> _) |
154 | (_rhs \(b := _rhs primNegateInt) -> b) | 154 | (_rhs let b = _rhs primNegateInt in b) |
155 | a | 155 | a |
156 | (match'Word | 156 | (match'Word |
157 | (\_ -> _) | 157 | (\_ -> _) |
158 | (_rhs \(c := _rhs primNegateWord) -> c) | 158 | (_rhs let c = _rhs primNegateWord in c) |
159 | a | 159 | a |
160 | (match'Float | 160 | (match'Float |
161 | (\_ -> _) | 161 | (\_ -> _) |
162 | (_rhs \(d := _rhs primNegateFloat) -> d) | 162 | (_rhs let d = _rhs primNegateFloat in d) |
163 | a | 163 | a |
164 | (match'Nat (\_ -> _) (_rhs \(e := _rhs undefined) -> e) a (_rhs undefined)))) | 164 | (match'Nat (\_ -> _) (_rhs let e = _rhs undefined in e) a (_rhs undefined)))) |
165 | 165 | ||
166 | 'Eq :: Type -> Type | 166 | 'Eq :: Type -> Type |
167 | 'Eq | 167 | 'Eq |
@@ -195,39 +195,39 @@ negate | |||
195 | (==) | 195 | (==) |
196 | = \ @a @_ -> match'String | 196 | = \ @a @_ -> match'String |
197 | (\_ -> _) | 197 | (\_ -> _) |
198 | (_rhs \(b := \(c :: _) (d :: _) -> _rhs (isEQ (primCompareString c d))) -> b) | 198 | (_rhs let b = \(c :: _) (d :: _) -> _rhs (isEQ (primCompareString c d)) in b) |
199 | a | 199 | a |
200 | (match'Char | 200 | (match'Char |
201 | (\_ -> _) | 201 | (\_ -> _) |
202 | (_rhs \(e := \(f :: _) (g :: _) -> _rhs (isEQ (primCompareChar f g))) -> e) | 202 | (_rhs let e = \(f :: _) (g :: _) -> _rhs (isEQ (primCompareChar f g)) in e) |
203 | a | 203 | a |
204 | (match'Int | 204 | (match'Int |
205 | (\_ -> _) | 205 | (\_ -> _) |
206 | (_rhs \(h := \(i :: _) (j :: _) -> _rhs (isEQ (primCompareInt i j))) -> h) | 206 | (_rhs let h = \(i :: _) (j :: _) -> _rhs (isEQ (primCompareInt i j)) in h) |
207 | a | 207 | a |
208 | (match'Float | 208 | (match'Float |
209 | (\_ -> _) | 209 | (\_ -> _) |
210 | (_rhs \(k := \(l :: _) (m :: _) -> _rhs (isEQ (primCompareFloat l m))) -> k) | 210 | (_rhs let k = \(l :: _) (m :: _) -> _rhs (isEQ (primCompareFloat l m)) in k) |
211 | a | 211 | a |
212 | (match'Bool | 212 | (match'Bool |
213 | (\_ -> _) | 213 | (\_ -> _) |
214 | (_rhs | 214 | (_rhs |
215 | \(n | 215 | let n |
216 | := \(o :: _) (p :: _) -> case'Bool | 216 | = \(o :: _) (p :: _) -> case'Bool |
217 | (\_ -> _) | 217 | (\_ -> _) |
218 | (case'Bool (\_ -> _) (_rhs True) (_rhs False) p) | 218 | (case'Bool (\_ -> _) (_rhs True) (_rhs False) p) |
219 | (case'Bool (\_ -> _) (_rhs False) (_rhs True) p) | 219 | (case'Bool (\_ -> _) (_rhs False) (_rhs True) p) |
220 | o) -> n) | 220 | o in n) |
221 | a | 221 | a |
222 | (match'Nat | 222 | (match'Nat |
223 | (\_ -> _) | 223 | (\_ -> _) |
224 | (_rhs | 224 | (_rhs |
225 | \(q | 225 | let q |
226 | := \(r :: _) (s :: _) -> case'Nat | 226 | = \(r :: _) (s :: _) -> case'Nat |
227 | (\_ -> _) | 227 | (\_ -> _) |
228 | (case'Nat (\_ -> _) (_rhs True) (\_ -> _rhs False) s) | 228 | (case'Nat (\_ -> _) (_rhs True) (\_ -> _rhs False) s) |
229 | (\(t :: _) -> case'Nat (\_ -> _) (_rhs False) (\(u :: _) -> _rhs (t == u)) s) | 229 | (\(t :: _) -> case'Nat (\_ -> _) (_rhs False) (\(u :: _) -> _rhs (t == u)) s) |
230 | r) -> q) | 230 | r in q) |
231 | a | 231 | a |
232 | (_rhs undefined)))))) | 232 | (_rhs undefined)))))) |
233 | 233 | ||