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
I'm not a big fan of Ack. You always deconstruct or coerce it to a boolean anyway, so the newtype provides little type safety for the extra layer of indirection. Its name can also be confusing to beginners, as acking NoData is perfectly fine. It's more of a ready signal.
Option 2 only seems useful to me if you don't use circuit-notation.
So I would prefer removing it altogether. Unfortunately this is currently not feasible due to circuit-notation requiring a Default instance.
Similarly to #87, we need to make a decision on what to do with the
Ack
type. There are three options:Data Ack (fwdType :: Type) = Ack Bool
. This ensures that mismatchedBwd
andFwd
channels are not connected on the type level.Bwd
ofDf
aBool
.I'd like to hear your opinions on this!
The text was updated successfully, but these errors were encountered: