Michael Marth
12/30/2019, 3:05 PMIO
actions all together with one call to unsafeRunSync
. I know in Haskell there is sequence
- is there a similar construct in Arrow?Jannis
12/30/2019, 3:07 PMsequence
in haskell comes from the Traverse
typeclass and is defined as traverse id
or similar. We have the same construct and it should exist for every datatype that has an instance of Traverse
Jannis
12/30/2019, 3:14 PMMichael Marth
12/30/2019, 3:16 PMListK
should do the job ...aballano
01/02/2020, 10:55 AMparSequence
aballano
01/02/2020, 10:56 AMlistOf(IO { 1 }, IO { 2 }).parSequence(...)
aballano
01/02/2020, 10:56 AMMichael Marth
01/02/2020, 11:04 AM