Closed tfausak closed 1 month ago
Currently this fixes the "Error: Missing workspace folder!" problem described in #79. It still doesn't address the problem of the discovery mechanism preferring Cabal or Stack over GHCi when really GHCi would be more appropriate.
Ok now it also fixes the other problem. If you open a single Haskell file, the discovery mechanism will choose GHCi (if it's available). This works with single files (no workspace) as well as a workspace that only has a single Haskell file in it.
Note that if you open a folder with multiple Haskell files but no (Cabal or Stack) project files, Purple Yolk will only work for the first file that you open.
Fixes #79.