haskell base library >= 4.8 ?
ken.cunningham.webuse at gmail.com
Mon Nov 20 00:06:17 UTC 2017
I'm updating hedgewars, and there is a build error (see below). The hedgewars devs say this means the base library is too old, and needs to be >= 4.8. I don't actually know what version of the haskell base library we have at present, or how to update it (if we can).
Any ideas how that might occur?
==== build error =========
[22 of 25] Compiling Actions ( /opt/local/var/macports/build/_opt_myports_games_hedgewars/hedgewars/work/hedgewars-src-0.9.23/gameServer/Actions.hs, /opt/local/var/macports/build/_opt_myports_games_hedgewars/hedgewars/work/build/gameServer/Actions.o )
Couldn't match expected type ‘[ClientIndex]’
with actual type ‘Maybe ClientIndex’
In the second argument of ‘($)’, namely ‘masterID r’
In the first argument of ‘(>>=)’, namely
‘(mapM (client'sM rnc id) $ masterID r)’
Couldn't match expected type ‘Maybe ClientInfo’
with actual type ‘[ClientInfo]’
In the first argument of ‘maybeNick’, namely ‘cn’
In the second argument of ‘roomInfo’, namely ‘(maybeNick cn)’
make: *** [bin/hedgewars-server] Error 1
More information about the macports-dev