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#))
| ^^