1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

SomeError, not SomeExc.

This commit is contained in:
Rob Rix 2018-10-22 09:53:59 -04:00
parent 2d2b3421db
commit a7f59e55bc

View File

@ -54,8 +54,8 @@ evaluate
. Value.runBoolean
. Value.runFunction coerce
reassociate :: Either (SomeExc exc1) (Either (SomeExc exc2) (Either (SomeExc exc3) result)) -> Either (SomeExc (Sum '[exc3, exc2, exc1])) result
reassociate = mergeExcs . mergeExcs . mergeExcs . Right
reassociate :: Either (SomeError exc1) (Either (SomeError exc2) (Either (SomeError exc3) result)) -> Either (SomeError (Sum '[exc3, exc2, exc1])) result
reassociate = mergeErrors . mergeErrors . mergeErrors . Right
type Val = Value SpecEff Precise
newtype SpecEff = SpecEff