inline-asm icon indicating copy to clipboard operation
inline-asm copied to clipboard

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

Open navid-zamani opened this issue 8 months ago • 1 comments

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
 

navid-zamani avatar Mar 16 '25 14:03 navid-zamani

You're right, I haven't bumped the version. Fixed, thanks!

0xd34df00d avatar Mar 24 '25 02:03 0xd34df00d