Some newer functions not available (v 1.9.3)

Hi I'm running tidal v 1.9.3 on MacOS Monterey. I use VS Code as my editor.

$ ghc-pkg list tidal
/Users/colekrumz/.ghcup/ghc/8.6.5/lib/ghc-8.6.5/package.conf.d
    (no packages)
/Users/colekrumz/.ghc/x86_64-darwin-8.6.5/package.conf.d
    tidal-1.9.3

But when I try to use some of the newer functions I get variable not in scope errors.

For example if I try to use nTake:

tidal!> Warning: GHCi | 
Warning: GHCi | <interactive>:2653:28: error:
Warning: GHCi |     Variable not in scope:
Warning: GHCi |       nTake :: [Char] -> [Integer] -> Pattern ControlMap

or if I try to use rolled:

tidal!> Warning: GHCi | 
Warning: GHCi | <interactive>:2656:6: error:
Warning: GHCi |     Variable not in scope:
Warning: GHCi |       rolled :: Pattern ControlMap -> Pattern ControlMap

Any thoughts what might be going on?

Ok, answered my own question. I had an old version of tidal hanging around somehow, even though I'd followed the upgrade instructions. I still needed to nuke my .ghc and .cabal folders to clear it out.

The tip was evaluating:

tidal_version

in my VS code editor.

2 Likes