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
This would need to be changed a lot, because for definition
instance (AdaptableDomainsa, Traversablet)
=>AdaptableDomains (ta) wheretypeScalar (ta) =Scalara
toDomains l = unefined -- use unzip x = (fmap fst x, fmap snd x), etc.
fromDomains lInit source =let f = swap .flip fromDomains
in swap $ mapAccumL f source lInit
I'm getting errors like
src/HordeAd/External/Adaptor.hs:237:8: error:
Conflicting family instance declarations:
Scalar (t a) = Scalar a
-- Defined at src/HordeAd/External/Adaptor.hs:237:8
Scalar (a, b, c) = Scalar a
-- Defined at src/HordeAd/External/Adaptor.hs:271:8
|
237 | type Scalar (t a) = Scalar a
| ^^^^^^
src/HordeAd/External/Adaptor.hs:245:8: error:
Conflicting family instance declarations:
Value (t a) = t (Value a)
-- Defined at src/HordeAd/External/Adaptor.hs:245:8
Value (a, b) = (Value a, Value b)
-- Defined at src/HordeAd/External/Adaptor.hs:312:8
|
245 | type Value (t a) = t (Value a)
| ^^^^^
The text was updated successfully, but these errors were encountered:
This would need to be changed a lot, because for definition
I'm getting errors like
The text was updated successfully, but these errors were encountered: