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
At the moment we get this
We should really get a type error.