You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps I don't understand the intended usage model, but since a DualContext[F] contains a ContextShift[F] would it make sense to provide an implicit DualContext[F] -> ContextShift[F]. I have had to write this signature def stream[F[_]: Sync](implicit cs: ContextShift[F], dual: DualContext[F]) which seems redundant. Alternatively, the cs inside DualContext could be made implicit for importing.
The text was updated successfully, but these errors were encountered:
Perhaps I don't understand the intended usage model, but since a DualContext[F] contains a ContextShift[F] would it make sense to provide an implicit DualContext[F] -> ContextShift[F]. I have had to write this signature
def stream[F[_]: Sync](implicit cs: ContextShift[F], dual: DualContext[F])
which seems redundant. Alternatively, the cs inside DualContext could be made implicit for importing.The text was updated successfully, but these errors were encountered: