ghc-ver | GHC version selection script for Haskell Platform
kandi X-RAY | ghc-ver Summary
kandi X-RAY | ghc-ver Summary
This script allows you to easily switch between different versions of GHC (the Glasgow Haskell Compiler) that are installed on your system. It's a simple Bash script that manipulates a symlink pointing to a subdirectory with the current preferred version of the GHC binaries.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ghc-ver
ghc-ver Key Features
ghc-ver Examples and Code Snippets
Community Discussions
Trending Discussions on ghc-ver
QUESTION
When I open some haskell project in VS Code I get this message:
Couldn't figure out what GHC version the project is using: /home/andrej/.config/Code - OSS/User/globalStorage/haskell.haskell/haskell-language-server-wrapper-1.2.0-linux --project-ghc-version exited with exit code 1: No 'hie.yaml' found. Try to discover the project type! Failed get project GHC version, since we have a none cradle
How to solve it?
Edit:
Here is tree structure of the project:
...ANSWER
Answered 2021-Jun-26 at 23:33Since your project has stack project config files, The Haskell extension should be able to figure out what it needs and a hie.yaml
file to configure the extension is typically not needed for simple projects like this.
haskell-language-server
, the project upon which the VS Code Haskell exension is based, is still under active development and often gets a bit stuck. The folllowing can help sort a lot of common issues:
- Run
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ghc-ver
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page