scalpel icon indicating copy to clipboard operation
scalpel copied to clipboard

Build failure with mtl-2.3

Open sjakobi opened this issue 3 years ago • 1 comments

Building library for scalpel-core-0.6.2..
[1 of 7] Compiling Text.HTML.Scalpel.Internal.Select.Types ( src/Text/HTML/Scalpel/Internal/Select/Types.hs, dist/build/Text/HTML/Scalpel/Internal/Select/Types.o, dist/build/Text/HTML/Scalpel/Internal/Select/Types.dyn_o )
[2 of 7] Compiling Text.HTML.Scalpel.Internal.Select.Combinators ( src/Text/HTML/Scalpel/Internal/Select/Combinators.hs, dist/build/Text/HTML/Scalpel/Internal/Select/Combinators.o, dist/build/Text/HTML/Scalpel/Internal/Select/Combinators.dyn_o )
[3 of 7] Compiling Text.HTML.Scalpel.Internal.Select ( src/Text/HTML/Scalpel/Internal/Select.hs, dist/build/Text/HTML/Scalpel/Internal/Select.o, dist/build/Text/HTML/Scalpel/Internal/Select.dyn_o )

src/Text/HTML/Scalpel/Internal/Select.hs:16:29: warning: [-Wunused-imports]
    The import of ‘<$>’ from module ‘Control.Applicative’ is redundant
   |
16 | import Control.Applicative ((<$>), (<|>))
   |                             ^^^^^
[4 of 7] Compiling Text.HTML.Scalpel.Internal.Scrape ( src/Text/HTML/Scalpel/Internal/Scrape.hs, dist/build/Text/HTML/Scalpel/Internal/Scrape.o, dist/build/Text/HTML/Scalpel/Internal/Scrape.dyn_o )

src/Text/HTML/Scalpel/Internal/Scrape.hs:50:68: error:
    Not in scope: type constructor or class ‘MonadFix’
    Perhaps you meant ‘MonadFail’ (imported from Control.Monad)
   |
50 |     deriving (Functor, Applicative, Alternative, Monad, MonadPlus, MonadFix,
   |                                                                    ^^^^^^^^

sjakobi avatar May 20 '22 00:05 sjakobi

As a Hackage trustee I have revised v0.6.2 with a bound mtl < 2.3: https://hackage.haskell.org/package/scalpel-core-0.6.2

sjakobi avatar Jun 05 '22 20:06 sjakobi

@sjakobi , can you revise 0.6.2.1 too?

ffaf1 avatar Nov 10 '23 18:11 ffaf1

Silly me, 0.6.2.1 is already fixed, this issue can be closed.

ffaf1 avatar Nov 10 '23 18:11 ffaf1

Actually, I talked to fast, 0.6.2.1 is broken!

ffaf1 avatar Nov 10 '23 18:11 ffaf1

This should be fixed in 0.6.2.2 thanks to #99 which I forgot to release...

fimad avatar Dec 08 '23 07:12 fimad