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
The new error node (see #90 and #129) currently introduces Maybes for places where it passes errors back to clients (see also #132, which proposes an extension to allow clients to choose to crash right away rather than catch and return errors). It will need to be extended to Either E, where E is a client-chosen type. This subsumes not only Maybe (where E is Unit) but also circuits where there are no failures (where E is Void), thus undoing the regression that we can no longer represent circuits that can be statically guaranteed not to fail, as well as allowing clients to distinguish among different, configurable classes of errors.
The text was updated successfully, but these errors were encountered:
The new error node (see #90 and #129) currently introduces
Maybe
s for places where it passes errors back to clients (see also #132, which proposes an extension to allow clients to choose to crash right away rather than catch and return errors). It will need to be extended toEither E
, whereE
is a client-chosen type. This subsumes not onlyMaybe
(whereE
isUnit
) but also circuits where there are no failures (whereE
isVoid
), thus undoing the regression that we can no longer represent circuits that can be statically guaranteed not to fail, as well as allowing clients to distinguish among different, configurable classes of errors.The text was updated successfully, but these errors were encountered: