This is an effort to try to run the FComp Haskell package described here: http://dreixel.net/research/pdf/fghm.pdf
So, with the help from an awesome colleague, the story goes like:
It complained when I did cable install -> delete all sorts of upper cap of dependencies -> can’t install instant-generics 0.6, only instant-generics 0.1 could be successfully installed -> delete instant-generics 0.1, which was not straight forward… one had to find all files on the system and unregister it from ghc-pkg -> leave the mess and try cabal sandbox and install fcomp from scratch -> found out there’s another problem about template haskell -> delete and change all sorts dependency restrictions again, even tried to go from larger to smaller number… used instant-generics 0.4 for example -> then a problem come from uuparsinglib -> then from haskore splitbase -> then from special-functors, and we found out it’s because this package hasn’t been updated for a very long time, maybe got abandoned by the author 😦 and the incompatibility comes from something in Control/Monad/Instances.hs
It’s been the quite a journey and we decided to let it go for now…
Something I learnt from this:
It’s good to save the terminal history as a txt file and look back on it later. Kind of like a cool journal 😀
The importance of Vim and command line is paramount. This is what I’ll be doing for a while now:
The difficult really lies in the intertwined complexity amongst the cabal files. My poor memory is just not holding up.
Why there’s no self-container (with all the proper dependencies versions) to just make everything reproducible at anytime? It might be big but shouldn’t be a problem with current storage ability?