Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with GHC 8.2.2 #34

Open
sjakobi opened this issue Oct 14, 2021 · 1 comment
Open

Build error with GHC 8.2.2 #34

sjakobi opened this issue Oct 14, 2021 · 1 comment

Comments

@sjakobi
Copy link

sjakobi commented Oct 14, 2021


src/Graphics/SvgTree/CssTypes.hs:57:33: error:
    • Variable not in scope:
        (<>) :: TB.Builder -> TB.Builder -> TB.Builder
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
   |
57 |       OfClass c       -> si '.' <> ft c
   |                                 ^^

src/Graphics/SvgTree/CssTypes.hs:59:33: error:
    • Variable not in scope:
        (<>) :: TB.Builder -> TB.Builder -> TB.Builder
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
   |
59 |       OfId    i       -> si '#' <> ft i
   |                                 ^^

src/Graphics/SvgTree/CssTypes.hs:60:33: error:
    • Variable not in scope:
        (<>) :: TB.Builder -> TB.Builder -> TB.Builder
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
   |
60 |       OfPseudoClass c -> si '#' <> ft c
   |                                 ^^

src/Graphics/SvgTree/CssTypes.hs:102:18: error:
    • Variable not in scope: (<>) :: TB.Builder -> TB.Builder -> t3
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
    |
102 |                  <> ft " {\n"
    |                  ^^

src/Graphics/SvgTree/CssTypes.hs:103:18: error:
    • Variable not in scope: (<>) :: t3 -> t1 -> t2
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
    |
103 |                  <> mconcat (fmap tserializeDecl decl)
    |                  ^^

src/Graphics/SvgTree/CssTypes.hs:104:18: error:
    • Variable not in scope: (<>) :: t2 -> TB.Builder -> TB.Builder
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
    |
104 |                  <> ft "}\n"
    |                  ^^

src/Graphics/SvgTree/CssTypes.hs:107:34: error:
    • Variable not in scope: (<>) :: TB.Builder -> TB.Builder -> t0
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
    |
107 |       tserializeDecl d = ft "  " <> tserialize d <> ft ";\n"
    |                                  ^^

src/Graphics/SvgTree/CssTypes.hs:107:50: error:
    • Variable not in scope: (<>) :: t0 -> TB.Builder -> t
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
    |
107 |       tserializeDecl d = ft "  " <> tserialize d <> ft ";\n"
    |                                                  ^^

src/Graphics/SvgTree/CssTypes.hs:243:29: error:
    • Variable not in scope: (<>) :: TB.Builder -> TB.Builder -> t4
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
    |
243 |     CssString   s -> si '"' <> ft s <> si '"'
    |                             ^^

src/Graphics/SvgTree/CssTypes.hs:243:37: error:
    • Variable not in scope: (<>) :: t4 -> TB.Builder -> TB.Builder
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
    |
243 |     CssString   s -> si '"' <> ft s <> si '"'
    |                                     ^^

src/Graphics/SvgTree/CssTypes.hs:244:30: error:
    • Variable not in scope:
        (<>) :: TB.Builder -> TB.Builder -> TB.Builder
    • Perhaps you meant one of these:
        ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude),
        ‘<$’ (imported from Prelude)
    |
244 |     CssReference r -> si '#' <> ft r
    |                              ^^
cabal: Failed to build reanimate-svg-0.13.0.1

You should probably add a constraint base >= 4.11.

@sjakobi
Copy link
Author

sjakobi commented Oct 14, 2021

You should probably add a constraint base >= 4.11.

As a Hackage trustee, I have added this constraint to v0.11.0.0 and up. See e.g. https://hackage.haskell.org/package/reanimate-svg-0.13.0.1/revisions/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant