Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible typo, and build questions #5

Open
johanwk opened this issue Nov 24, 2022 · 1 comment
Open

Possible typo, and build questions #5

johanwk opened this issue Nov 24, 2022 · 1 comment

Comments

@johanwk
Copy link

johanwk commented Nov 24, 2022

(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.)
@lvm
Copy link
Owner

lvm commented Nov 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants