Skip to content

Possible typo, and build questions #5

Open
@johanwk

Description

(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.)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions