Created
May 10, 2012 04:59
-
-
Save deepakjois/2651119 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/Graphics/BarChart/Rendering.hs:75:14: | |
Could not deduce (Renderable Diagrams.TwoD.Text.Text b0) | |
arising from a use of `text' | |
from the context (Measurable a, Show a) | |
bound by the type signature for | |
drawBarChart :: (Measurable a, Show a) => | |
Config -> BarChart a -> Diagram SVG R2 | |
at src/Graphics/BarChart/Rendering.hs:(72,1)-(76,76) | |
Possible fix: | |
add (Renderable Diagrams.TwoD.Text.Text b0) to the context of | |
the type signature for | |
drawBarChart :: (Measurable a, Show a) => | |
Config -> BarChart a -> Diagram SVG R2 | |
or add an instance declaration for | |
(Renderable Diagrams.TwoD.Text.Text b0) | |
In the first argument of `(<>)', namely `text caption' | |
In the expression: text caption <> strutX width <> strutY height | |
In an equation for `title': | |
title = text caption <> strutX width <> strutY height | |
src/Graphics/BarChart/Rendering.hs:75:30: | |
Could not deduce (Backend b0 R2) arising from a use of `strutX' | |
from the context (Measurable a, Show a) | |
bound by the type signature for | |
drawBarChart :: (Measurable a, Show a) => | |
Config -> BarChart a -> Diagram SVG R2 | |
at src/Graphics/BarChart/Rendering.hs:(72,1)-(76,76) | |
Possible fix: | |
add (Backend b0 R2) to the context of | |
the type signature for | |
drawBarChart :: (Measurable a, Show a) => | |
Config -> BarChart a -> Diagram SVG R2 | |
or add an instance declaration for (Backend b0 R2) | |
In the first argument of `(<>)', namely `strutX width' | |
In the second argument of `(<>)', namely | |
`strutX width <> strutY height' | |
In the expression: text caption <> strutX width <> strutY height | |
src/Graphics/BarChart/Rendering.hs:75:37: | |
Couldn't match expected type `Double' | |
with actual type `a0 -> Double' | |
In the first argument of `strutX', namely `width' | |
In the first argument of `(<>)', namely `strutX width' | |
In the second argument of `(<>)', namely | |
`strutX width <> strutY height' | |
src/Graphics/BarChart/Rendering.hs:75:37: | |
Couldn't match type `V a0' with `R2' | |
In the first argument of `strutX', namely `width' | |
In the first argument of `(<>)', namely `strutX width' | |
In the second argument of `(<>)', namely | |
`strutX width <> strutY height' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment