You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Stack now supports having projects on the same system use multiple versions of GHC, it would be ideal for ghcmod-vim to recognize somehow which ghc-mod to use for a given project.
Perhaps a dot file in the project directory could be used to pass info? I'm not sure what other approach could make sense.
The process as I imagine it would be this: in the project directory, stack build ghc-mod then stack exec which ghc-mod will output the full path to the ghc-mod built for that project. Then, that path can be somehow used when working on the particular project and would vary when working on a different project, depending on if it uses a different GHC etc. (Stack shares executables among projects that all use the same Stackage snapshot, which will include ghc-mod after the next LTS version).
The text was updated successfully, but these errors were encountered:
Since Stack now supports having projects on the same system use multiple versions of GHC, it would be ideal for ghcmod-vim to recognize somehow which ghc-mod to use for a given project.
Perhaps a dot file in the project directory could be used to pass info? I'm not sure what other approach could make sense.
The process as I imagine it would be this: in the project directory,
stack build ghc-mod
thenstack exec which ghc-mod
will output the full path to the ghc-mod built for that project. Then, that path can be somehow used when working on the particular project and would vary when working on a different project, depending on if it uses a different GHC etc. (Stack shares executables among projects that all use the same Stackage snapshot, which will include ghc-mod after the next LTS version).The text was updated successfully, but these errors were encountered: