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
test/Spec.hs:283:85: error:
* No instance for (AdditiveSemigroup (Term s (PInteger @{S})))
arising from a use of `+'
because I imported the wrong Prelude. We already have instance Num (Term s PInteger), we should add the PlutusTx.Prelude class instances as well. It literally doesn't matter which (+) is in scope, the result will be exactly the same.
The text was updated successfully, but these errors were encountered:
It's not the first time I get
because I imported the wrong Prelude. We already have
instance Num (Term s PInteger)
, we should add thePlutusTx.Prelude
class instances as well. It literally doesn't matter which (+) is in scope, the result will be exactly the same.The text was updated successfully, but these errors were encountered: