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) {
3030}
3131
3232function getXWithResult ( s ) {
33- let y = doStuffWithResult ( s ) ;
34- if ( y . TAG !== "Ok" ) {
33+ let e = doStuffWithResult ( s ) ;
34+ if ( e . TAG !== "Ok" ) {
3535 return {
3636 TAG : "Error" ,
37- _0 : y . _0
37+ _0 : e . _0
3838 } ;
3939 }
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" ) {
4343 return {
4444 TAG : "Ok" ,
45- _0 : x . _0 + y$1
45+ _0 : e$1 . _0 + y
4646 } ;
4747 } else {
4848 return {
4949 TAG : "Error" ,
50- _0 : x . _0
50+ _0 : e$1 . _0
5151 } ;
5252 }
5353}
@@ -122,25 +122,25 @@ async function decodeResAsync(res) {
122122}
123123
124124async 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" ) {
127127 return {
128128 TAG : "Error" ,
129- _0 : res . _0
129+ _0 : e . _0
130130 } ;
131131 }
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" ) {
136136 return {
137137 TAG : "Ok" ,
138- _0 : x . _0
138+ _0 : e$1 . _0
139139 } ;
140140 } else {
141141 return {
142142 TAG : "Error" ,
143- _0 : x . _0
143+ _0 : e$1 . _0
144144 } ;
145145 }
146146}
You can’t perform that action at this time.
0 commit comments