Skip to content

Build error with GHC 8.2.2 #34

@sjakobi

Description

@sjakobi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions