-
Notifications
You must be signed in to change notification settings - Fork 0
Description
There's a decent chance this is some simple/dumb configuration issue on my end. I've barely used Haskell or cabal at all, so I'm pretty poor at debugging what may be common issues if Google isn't immediately helpful.
I'm working on Windows 10 with GHC version 7.10.3, cabal-install version 1.22.6.0 with version 1.22.5.0 of the cabal library.
Tried the basic cabal --install cfipu, and I get a pile of "Couldn't match expected type with actual type" errors from Memory.hs. E.g.,
src\Data\Memory.hs:78:9:
Couldn't match expected type `Maybe (Cell, BankersDequeue Cell)'
with actual type `(Maybe Cell, InternalContainer)'
In the pattern: ((Just cell), p')
In a case alternative:
((Just cell), p') -> ID p' (pushFront i cell) d
In the expression:
case popBack p of {
((Just cell), p') -> ID p' (pushFront i cell) d
((Nothing), _) -> ID p (pushFront i defaultCell) d }
src\Data\Memory.hs:79:9:
Couldn't match expected type `Maybe (Cell, BankersDequeue Cell)'
with actual type `(Maybe t1, t0)'
In the pattern: ((Nothing), _)
In a case alternative:
((Nothing), _) -> ID p (pushFront i defaultCell) d
In the expression:
case popBack p of {
((Just cell), p') -> ID p' (pushFront i cell) d
((Nothing), _) -> ID p (pushFront i defaultCell) d }
And so on for what looks like 40 or 50 or so blocks. Trying to build/install manually from source leads me to the same errors when I run ./Setup.exe build.
Any idea what the issue might be? Is it likely just a problem with changes from dependency updates or some other type of config issue?
As a sidenote, is there any other info about cfipu that you know of anywhere? I stumbled across this repo quite by chance but it's the only reference to that language I can find anywhere.