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
summary adds a type annotation to prog, which involves MayBoxVec Prob Prob. Compiling with GHC results in the error Not in scope: type constructor or class ‘Prob’
Removing the type annotation makes it compile again.
It looks like Prob was being interpreted as a constructor or class, rather than as a type. So I guess maybe the problem has to do with MayBoxVec.
The text was updated successfully, but these errors were encountered:
The Prob type synonym was added to Language.Hakaru.Runtime.LogFloatPrelude and Language.Hakaru.Runtime.Prelude in 772a986, then used in 1509e85. Neither of these commits is in v0.4. Would you please clarify which version you're using, and try reinstalling Language.Hakaru.Runtime.LogFloatPrelude if you're using the latest master rather than v0.4?
summary
adds a type annotation toprog
, which involvesMayBoxVec Prob Prob
. Compiling with GHC results in the errorNot in scope: type constructor or class ‘Prob’
Removing the type annotation makes it compile again.
It looks like Prob was being interpreted as a constructor or class, rather than as a type. So I guess maybe the problem has to do with MayBoxVec.
The text was updated successfully, but these errors were encountered: