Hi All,

I'm trying to extract elements from a Vector using 'head' and 'tail' function in Data.Vector package, but it gives me the following error now.

<interactive>:41:18:
    Couldn't match expected type ‘Data.Vector.Vector a’
                with actual type ‘vector-0.10.9.1:Data.Vector.Vector Int’
    NB: ‘Data.Vector.Vector’
          is defined in ‘Data.Vector’ in package ‘vector-0.10.12.3’
        ‘vector-0.10.9.1:Data.Vector.Vector’
          is defined in ‘Data.Vector’ in package ‘vector-0.10.9.1’
    Relevant bindings include it :: a (bound at <interactive>:41:1)
    In the first argument of ‘Data.Vector.head’, namely ‘it’
    In the expression: Data.Vector.head it

It was working fine before.

Any help would be appreciated. Thanks in advance! 

--
Regards,
Dananji Liyanage