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
*Data.Vector> (coerce ((Data.Vector.fromList [1,2]) :: Vector CInt)) :: Vector Int
<interactive>:9:2: error:
• Couldn't match representation of type ‘GHC.Int.Int32’
with that of ‘Int’
arising from a use of ‘coerce’
• In the expression:
(coerce ((Data.Vector.fromList [1, 2]) :: Vector CInt)) ::
Vector Int
In an equation for ‘it’:
it
= (coerce ((Data.Vector.fromList [1, 2]) :: Vector CInt)) ::
Vector Int
Activity
idontgetoutmuch commentedon Oct 27, 2018
And by making Vector representational we get
Fix haskell#223
Fix incorrect coercion haskell#223
Fix incorrect coercion haskell#223
Fix incorrect coercion haskell#223
Fix incorrect coercion #223 (#224)
RyanGlScott commentedon Oct 27, 2018
Fixed in #224.