Possible typo, and build questions
Opened this issue · 1 comments
(A word of caution. I don't actually know Haskell or how to build/install modules, so the following is simply a report on following the instructions on the project homepage.)
I'm on a Mac, trying the checkout and build command line. This fails with the following error message. Maybe there's a typo?
Build profile: -w ghc-8.10.7 -O
...
Building library for tidal-drum-patterns-0.4.3..
Sound/Tidal/Drum/HipHop.hs:3:8: error:
File name does not match module name:
Saw: ‘Sound.Tidal.Drum.Hiphop’
Expected: ‘Sound.Tidal.Drum.HipHop’
|
3 | module Sound.Tidal.Drum.Hiphop where
| ^^^^^^^^^^^^^^^^^^^^^^^
I naively attempted to comment out line 226 (containing "HipHop", not "Hiphop") in tidal-drum-patterns.cabal, and the build/install then went through.
However, Tidal now fails to start, showing the following output.
GHCi, version 8.10.7: https://www.haskell.org/ghc/ :? for help
Loaded package environment from /Users/me/.ghc/x86_64-darwin-8.10.7/environments/default
Prelude>
<no location info>: error:
Could not load module ‘Sound.Tidal.Context’
It is a member of the hidden package ‘tidal-1.9.2’.
You can run ‘:set -package tidal’ to expose it.
(Note: this unloads all the modules in the current scope.)
Mmm. Tidal is known for changing things not caring for backwards compatibility and this is a 6 yo project. So that might be the case.
If you take a look at the modules, they're just a bunch of bool Patterns; these should be easy to reimplement in the way Tidal does things these days.