If presented with the following design choices:
A. getRecords h >-> parsePipe >-> P.print
...where the getRecords both awaits and yields
B. ( (a -> m b) ~> (b -> m c) ) h >-> P.print
... where each of the kleisli arrows yields
Does A have 2 decoupled points
#1. between getRecords h >-> and parsePipe
#2. between parsePipe and P.print's
Versus B only one between the final yield from the second k :: (b -> m c) and the await from P.print?
If so, is there a performance consideration?
Thanks in advance for letting me know.
- E