diagrams / SVGFonts

Fonts from the SVG-Font format
http://hackage.haskell.org/package/SVGFonts
Other
20 stars 12 forks source link

Fix "Ambiguous occurrence ‘Vector’" (Data.Vector vs. Diagrams.Prelude.Vector) #21

Closed nh2 closed 8 years ago

nh2 commented 8 years ago

Fixes

    SVGFonts/src/Graphics/SVGFonts/ReadFont.hs:246:16: error:
        Ambiguous occurrence ‘Vector’
        It could refer to either ‘V.Vector’,
                                 imported from ‘Data.Vector’ at src/Graphics/SVGFonts/ReadFont.hs:30:51-56
                              or ‘Diagrams.Prelude.Vector’,
                                 imported from ‘Diagrams.Prelude’ at src/Graphics/SVGFonts/ReadFont.hs:33:1-62
                                 (and originally defined in ‘Data.Vector.Unboxed.Base’)