haskell-works / hw-streams

BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

hw-streams-0.0.1.0 fails to build ghc-9.4.3 in Stackage Nightly #81

Open juhp opened 1 year ago

juhp commented 1 year ago
Building library for hw-streams-0.0.1.0..                                                                                [25/196911]
[ 8 of 11] Compiling HaskellWorks.Data.Streams.Stream.Ops                                                                           

/var/stackage/work/unpack-dir/unpacked/hw-streams-0.0.1.0-0c0f9c1e6c0e81e45fb84c87d2189add4314ac98cafac55bb88885680be36dc1/src/Haske
llWorks/Data/Streams/Stream/Ops.hs:17:50: error:
    • Couldn't match expected type ‘Int64#’ with actual type ‘Int#’
    • In the first argument of ‘I64#’, namely ‘(ltWord# a# b#)’
      In the first argument of ‘fromIntegral’, namely
        ‘(I64# (ltWord# a# b#))’
      In the expression: fromIntegral (I64# (ltWord# a# b#))
   |
17 | ltWord (W64# a#) (W64# b#) = fromIntegral (I64# (ltWord# a# b#))
   |                                                  ^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/hw-streams-0.0.1.0-0c0f9c1e6c0e81e45fb84c87d2189add4314ac98cafac55bb88885680be36dc1/src/Haske
llWorks/Data/Streams/Stream/Ops.hs:17:58: error:
    • Couldn't match expected type ‘Word#’ with actual type ‘Word64#’
    • In the first argument of ‘ltWord#’, namely ‘a#’
      In the first argument of ‘I64#’, namely ‘(ltWord# a# b#)’
      In the first argument of ‘fromIntegral’, namely
        ‘(I64# (ltWord# a# b#))’
   |
17 | ltWord (W64# a#) (W64# b#) = fromIntegral (I64# (ltWord# a# b#))
   |                                                          ^^

/var/stackage/work/unpack-dir/unpacked/hw-streams-0.0.1.0-0c0f9c1e6c0e81e45fb84c87d2189add4314ac98cafac55bb88885680be36dc1/src/Haske
llWorks/Data/Streams/Stream/Ops.hs:17:61: error:
    • Couldn't match expected type ‘Word#’ with actual type ‘Word64#’
    • In the second argument of ‘ltWord#’, namely ‘b#’
      In the first argument of ‘I64#’, namely ‘(ltWord# a# b#)’
      In the first argument of ‘fromIntegral’, namely
        ‘(I64# (ltWord# a# b#))’
   |
17 | ltWord (W64# a#) (W64# b#) = fromIntegral (I64# (ltWord# a# b#))
   |                                                             ^^
alaendle commented 1 month ago

Seems this have been solved with hw-streams-0.0.1.1.