File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -30,24 +30,24 @@ function doNextStuffWithResult(s) {
30
30
}
31
31
32
32
function getXWithResult ( s ) {
33
- let y = doStuffWithResult ( s ) ;
34
- if ( y . TAG !== "Ok" ) {
33
+ let e = doStuffWithResult ( s ) ;
34
+ if ( e . TAG !== "Ok" ) {
35
35
return {
36
36
TAG : "Error" ,
37
- _0 : y . _0
37
+ _0 : e . _0
38
38
} ;
39
39
}
40
- let y$1 = y . _0 ;
41
- let x = doNextStuffWithResult ( y$1 ) ;
42
- if ( x . TAG === "Ok" ) {
40
+ let y = e . _0 ;
41
+ let e$1 = doNextStuffWithResult ( y ) ;
42
+ if ( e$1 . TAG === "Ok" ) {
43
43
return {
44
44
TAG : "Ok" ,
45
- _0 : x . _0 + y$1
45
+ _0 : e$1 . _0 + y
46
46
} ;
47
47
} else {
48
48
return {
49
49
TAG : "Error" ,
50
- _0 : x . _0
50
+ _0 : e$1 . _0
51
51
} ;
52
52
}
53
53
}
@@ -122,25 +122,25 @@ async function decodeResAsync(res) {
122
122
}
123
123
124
124
async function getXWithResultAsync ( s ) {
125
- let res = await doStuffResultAsync ( s ) ;
126
- if ( res . TAG !== "Ok" ) {
125
+ let e = await doStuffResultAsync ( s ) ;
126
+ if ( e . TAG !== "Ok" ) {
127
127
return {
128
128
TAG : "Error" ,
129
- _0 : res . _0
129
+ _0 : e . _0
130
130
} ;
131
131
}
132
- let res$1 = res . _0 ;
133
- console . log ( res$1 . s ) ;
134
- let x = await decodeResAsync ( res$1 ) ;
135
- if ( x . TAG === "Ok" ) {
132
+ let res = e . _0 ;
133
+ console . log ( res . s ) ;
134
+ let e$1 = await decodeResAsync ( res ) ;
135
+ if ( e$1 . TAG === "Ok" ) {
136
136
return {
137
137
TAG : "Ok" ,
138
- _0 : x . _0
138
+ _0 : e$1 . _0
139
139
} ;
140
140
} else {
141
141
return {
142
142
TAG : "Error" ,
143
- _0 : x . _0
143
+ _0 : e$1 . _0
144
144
} ;
145
145
}
146
146
}
You can’t perform that action at this time.
0 commit comments