Skip to content

v0.5.0.2: import for foldM missing in QQ.hs #7

@navid-zamani

Description

@navid-zamani

Hi, I can’t see if the repository here is the same as version 0.5.0.2 or hackage, but I just tried to build the package from hackage, and it complained that foldM was unknown.

So I added the import, and now it builds fine again.

Here’s the patch:

diff '--color=auto' -ur a/src/Language/Asm/Inline/QQ.hs b/src/Language/Asm/Inline/QQ.hs
--- a/src/Language/Asm/Inline/QQ.hs     2021-10-09 20:02:52.000000000 +0200
+++ b/src/Language/Asm/Inline/QQ.hs     2025-03-16 15:20:01.072895717 +0100
@@ -34,6 +34,7 @@
 import Text.Megaparsec
 import Text.Megaparsec.Char
 import qualified Text.Megaparsec.Char.Lexer as ML
+import Control.Monad (foldM)
 
 import Language.Asm.Inline.AsmCode
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions