Skip to content

Commit e77fbb4

Browse files
Wrap example in TE.right
1 parent 96cde7d commit e77fbb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

slides/lesson6-validation.md

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ import * as TE from 'fp-ts/TaskEither'
192192

193193
const result = pipe(
194194
1,
195+
TE.right,
195196
TE.map(a => a + 1),
196197
TE.map(a => a + 1)
197198
)

0 commit comments

Comments
 (0)