tidalcycles / vim-tidal

Vim plugin for TidalCycles
MIT License
222 stars 56 forks source link

load BootTidal.hs from tidal Hackage on *nix systems #69

Closed joenio closed 2 years ago

joenio commented 2 years ago

the Tidal.ghci has exactly the same code as BootTidal.hs from tidal Haskell package, that code duplication could be avoided by loading the boot file straight from tidal Haskell package

for now we can't remove Tidal.ghci cause tidal.bat on Windows still needs that file, but on *nix environments the BootTidal.hs is being used instead Tidal.ghci

if possible would be great to develop the same solution of this commit also on tidal.bat script then the Tidal.ghci can be removed from vim-tidal

munshkr commented 2 years ago

Thank you @joenio ! I've been wanting to solve this for a long time. Didn't know about that Paths_tidal expression. We should probably do something similar with the tidal.bat, I agree.