xeno icon indicating copy to clipboard operation
xeno copied to clipboard

Build failure with mtl-2.3

Open sjakobi opened this issue 3 years ago • 2 comments

Building library for xeno-0.5..
[1 of 7] Compiling Control.Spork    ( src/Control/Spork.hs, dist/build/Control/Spork.o, dist/build/Control/Spork.dyn_o )
[2 of 7] Compiling Xeno.DOM.Internal ( src/Xeno/DOM/Internal.hs, dist/build/Xeno/DOM/Internal.o, dist/build/Xeno/DOM/Internal.dyn_o )
[3 of 7] Compiling Xeno.Types       ( src/Xeno/Types.hs, dist/build/Xeno/Types.o, dist/build/Xeno/Types.dyn_o )

src/Xeno/Types.hs:18:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad.Fail’ is redundant
      except perhaps to import instances from ‘Control.Monad.Fail’
    To import instances alone, use: import Control.Monad.Fail()
   |
18 | import Control.Monad.Fail
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[4 of 7] Compiling Xeno.SAX         ( src/Xeno/SAX.hs, dist/build/Xeno/SAX.o, dist/build/Xeno/SAX.dyn_o )

src/Xeno/SAX.hs:217:20: error:
    Variable not in scope: unless :: Bool -> m () -> m b
    |
217 |         Nothing -> unless (S.null text) (textF text)
    |                    ^^^^^^

src/Xeno/SAX.hs:220:11: error:
    Variable not in scope: unless :: Bool -> m () -> m a0
    |
220 |           unless (S.null text) (textF text)
    |           ^^^^^^

sjakobi avatar May 20 '22 00:05 sjakobi

As a Hackage trustee I have revised the affected versions on Hackage. See e.g. https://hackage.haskell.org/package/xeno-0.5/revisions/.

sjakobi avatar May 23 '22 11:05 sjakobi

Thank you Simon!

On Mon, 23 May 2022 at 13:10, Simon Jakobi @.***> wrote:

As a Hackage trustee I have revised the affected versions on Hackage. See e.g. https://hackage.haskell.org/package/xeno-0.5/revisions/.

— Reply to this email directly, view it on GitHub https://github.com/ocramz/xeno/issues/58#issuecomment-1134535274, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNBDKHDYQI4K35T6FJWLQLVLNRQZANCNFSM5WN4EZZQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ocramz avatar May 23 '22 11:05 ocramz