Skip to content

Commit

Permalink
feat(fio2): add support for chain
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed May 21, 2019
1 parent 0f34797 commit 80ff0b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benchmarks/internals/FIO2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ export const interpretSyncFIO2 = <R1, E1, A1>(io: FIO2<R1, E1, A1>): A1 => {
} else if (i instanceof Map) {
stack.push(FIO2.access(i.ab))
stack.push(i.fio)
} else if (i instanceof Chain) {
stack.push(FIO2.accessM(i.aFb))
stack.push(i.fio)
} else {
returnValue = i
}
Expand Down

0 comments on commit 80ff0b7

Please sign in to comment.